Browse Source

global Exception handling

bugfixes
harshadyeola 10 years ago
parent
commit
8f7e058f0b
  1. 3
      ee/cli/main.py

3
ee/cli/main.py

@ -94,6 +94,9 @@ def main():
# Default Cement signals are SIGINT and SIGTERM, exit 0 (non-error)
code = 0
print(e)
except Exception as e:
code = 1
print(e)
finally:
# Print an exception (if it occurred) and --debug was passed
if app.debug:

Loading…
Cancel
Save