mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
This commit is contained in:
parent
8786732044
commit
b173f41bc7
1 changed files with 2 additions and 2 deletions
|
|
@ -447,7 +447,7 @@ def main():
|
|||
logger.critical('Internal failure: %r', e, exc_info=True)
|
||||
raise
|
||||
logger.warning(
|
||||
'Caught exception "%s". Reloading.', e)
|
||||
'Caught exception "%s". Reloading.', e, exc_info=True)
|
||||
|
||||
finally:
|
||||
time.sleep(.5) # sleep to avoid cpu load
|
||||
|
|
@ -462,7 +462,7 @@ def main():
|
|||
pelican.run()
|
||||
|
||||
except Exception as e:
|
||||
logger.critical('%s', e)
|
||||
logger.critical('Internal failure: %r', e, exc_info=True)
|
||||
|
||||
if args.verbosity == logging.DEBUG:
|
||||
raise
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue