mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge b173f41bc7 into 5f1d5c4b88
This commit is contained in:
commit
c1205afae3
1 changed files with 2 additions and 2 deletions
|
|
@ -472,7 +472,7 @@ def main():
|
|||
if (args.verbosity == logging.DEBUG):
|
||||
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
|
||||
|
|
@ -487,7 +487,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