mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge 1718073eb7 into 5f1d5c4b88
This commit is contained in:
commit
fc43497ea1
1 changed files with 2 additions and 1 deletions
|
|
@ -470,7 +470,8 @@ def main():
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
if (args.verbosity == logging.DEBUG):
|
if (args.verbosity == logging.DEBUG):
|
||||||
raise
|
logger.error(
|
||||||
|
'Exception occurred: %s', e, exc_info=True)
|
||||||
logger.warning(
|
logger.warning(
|
||||||
'Caught exception "%s". Reloading.', e)
|
'Caught exception "%s". Reloading.', e)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue