aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/ui/command_line.py
diff options
context:
space:
mode:
Diffstat (limited to 'libbe/ui/command_line.py')
-rwxr-xr-xlibbe/ui/command_line.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbe/ui/command_line.py b/libbe/ui/command_line.py
index 6eead67..3812789 100755
--- a/libbe/ui/command_line.py
+++ b/libbe/ui/command_line.py
@@ -284,6 +284,10 @@ def main():
command.cleanup()
print 'ERROR:\n', e
return 1
+ except libbe.storage.ConnectionError, e:
+ command.cleanup()
+ print 'Connection Error:\n', e
+ return 1
command.cleanup()
return 0