Skip to content

Commit

Permalink
grml2usb: print backtrace when --verbose is given
Browse files Browse the repository at this point in the history
Useful for debugging.
  • Loading branch information
zeha committed Oct 13, 2019
1 parent d3008fb commit 6c16c88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions grml2usb
Expand Up @@ -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)


Expand Down

0 comments on commit 6c16c88

Please sign in to comment.