Provide top-level critical error message.
authormeisterluk <admin@lukas-prokop.at>
Fri, 3 May 2013 17:09:27 +0000 (19:09 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 13 May 2013 09:04:14 +0000 (11:04 +0200)
commit5276a2374013612a6ead6e9b1f18ea4f84105cec
tree8d2d2002d8be079dc2f0cfe5fef2e5cc510f450a
parent6990c85f9b7fd72562a5aa64e7de3d086769d933
Provide top-level critical error message.

Instead of registering error message using the logging module before
raising the corresponding Exception, we use the Exception to provide
user-level error messages (and use logging.debug or logging.error to
store dev-level error messages before).

The main routine catches those exceptions and forwards the messages
to the logging module.
grml2usb