summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-03-28 22:18:44 +0300
committerLars Wirzenius <liw@liw.fi>2017-03-28 22:18:44 +0300
commitffd5543a833201d704753afebf8a9ce0a51cd916 (patch)
tree1274d8727e6d24abd4c509598103b1b16559633c
parent818fbc9c0de0902f60435cc4d41b8ced56dc9319 (diff)
downloadvmdb2-ffd5543a833201d704753afebf8a9ce0a51cd916.tar.gz
Log traceback on errors
-rw-r--r--vmdb/app.py2
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