Wrap main method with try...except Exception construct.
authormeisterluk <admin@lukas-prokop.at>
Fri, 3 May 2013 16:16:48 +0000 (18:16 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 13 May 2013 09:04:14 +0000 (11:04 +0200)
commit6990c85f9b7fd72562a5aa64e7de3d086769d933
tree6fd33c27c24c9036c2533ae46b8c032c4281bc10
parent7cef7442a8c4e6d2203ee146cb21e43d50625448
Wrap main method with try...except Exception construct.

This construct will catch any Exception and suppresses the backtrace.
Any error message is registered by logging before. In the current
commit this is already satisfied, but error message might get registered
twice.

Next we don't register error messages with logging before and move the
logging.critical message to the top-level except-Exception.
grml2usb