projects
/
grml2usb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3008fb
)
grml2usb: print backtrace when --verbose is given
author
Chris Hofstaedtler
<zeha@debian.org>
Sat, 31 Aug 2019 13:11:30 +0000
(13:11 +0000)
committer
Chris Hofstaedtler
<chris.hofstaedtler@deduktiva.com>
Sun, 13 Oct 2019 12:30:19 +0000
(14:30 +0200)
Useful for debugging.
grml2usb
patch
|
blob
|
history
diff --git
a/grml2usb
b/grml2usb
index
f15dbf6
..
9c6c8c5
100755
(executable)
--- a/
grml2usb
+++ b/
grml2usb
@@
-1932,6
+1932,8
@@
def main():
except Exception as error:
logging.critical("Fatal: %s", str(error))
+ if options.verbose:
+ logging.exception("Exception:")
sys.exit(1)