From: meisterluk Date: Fri, 3 May 2013 16:16:48 +0000 (+0200) Subject: Wrap main method with try...except Exception construct. X-Git-Tag: v0.13.7~6 X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=commitdiff_plain;h=6990c85f9b7fd72562a5aa64e7de3d086769d933;hp=6990c85f9b7fd72562a5aa64e7de3d086769d933 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. ---