projects
/
deliverable
/
barectf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b5a6c2
)
cli: print traceback for unknown exceptions
author
Philippe Proulx
<eeppeliteloop@gmail.com>
Fri, 15 May 2020 19:29:46 +0000
(15:29 -0400)
committer
Philippe Proulx
<eeppeliteloop@gmail.com>
Fri, 22 May 2020 16:30:18 +0000
(12:30 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
barectf/cli.py
patch
|
blob
|
blame
|
history
diff --git
a/barectf/cli.py
b/barectf/cli.py
index 8b12f1522d0471c1d9b9dff421d441e1b22ad530..8add0c8381f6b8d6c450bc1658a5306b872f2325 100644
(file)
--- a/
barectf/cli.py
+++ b/
barectf/cli.py
@@
-118,6
+118,9
@@
def run():
except barectf.config.ConfigError as e:
_pconfig_error(e)
except Exception as e:
+ import traceback
+
+ traceback.print_exc()
_perror('unknown exception: {}'.format(e))
# replace prefix if needed
This page took
0.023243 seconds
and
4
git commands to generate.