diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-03-28 22:18:44 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-03-28 22:18:44 +0300 |
commit | ffd5543a833201d704753afebf8a9ce0a51cd916 (patch) | |
tree | 1274d8727e6d24abd4c509598103b1b16559633c | |
parent | 818fbc9c0de0902f60435cc4d41b8ced56dc9319 (diff) | |
download | vmdb2-ffd5543a833201d704753afebf8a9ce0a51cd916.tar.gz |
Log traceback on errors
-rw-r--r-- | vmdb/app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vmdb/app.py b/vmdb/app.py index a2bd814..29b9816 100644 --- a/vmdb/app.py +++ b/vmdb/app.py @@ -68,7 +68,7 @@ class Vmdb2(cliapp.Application): runner = self.step_runners.find(step) runner.run(expanded_step, self.settings, state) except Exception as e: - logging.error('ERROR: %s', str(e)) + logging.error('ERROR: %s', str(e), exc_info=True) sys.stderr.write('ERROR: {}\n'.format(str(e))) core_meltdown = True |