1
0
Fork 0
forked from github/pelican

Improve internal error reporting. Fixes #1717.

This commit is contained in:
Ionel Cristian Mărieș 2015-05-12 02:55:45 +03:00
commit ab2dc71d34

View file

@ -444,7 +444,7 @@ def main():
except Exception as e:
if (args.verbosity == logging.DEBUG):
logger.critical(e.args)
logger.critical('Internal failure: %r', e, exc_info=True)
raise
logger.warning(
'Caught exception "%s". Reloading.', e)