forked from github/pelican
Improve internal error reporting. Fixes #1717.
This commit is contained in:
parent
aae0f6c484
commit
ab2dc71d34
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue