(cherry picked from commit 3a62bdd276)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
parent
6045925ebe
commit
8576fbbade
|
|
@ -579,9 +579,7 @@ class PluginsRegistry:
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
# Handle the error, log it and try again
|
# Handle the error, log it and try again
|
||||||
if attempts == 0:
|
if attempts == 0:
|
||||||
handle_error(
|
handle_error(error, log_name='init', do_raise=True)
|
||||||
error, log_name='init', do_raise=settings.PLUGIN_TESTING
|
|
||||||
)
|
|
||||||
|
|
||||||
logger.exception(
|
logger.exception(
|
||||||
'[PLUGIN] Encountered an error with %s:\n%s',
|
'[PLUGIN] Encountered an error with %s:\n%s',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue