mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 03:56:43 +00:00
Ensure error is raised (#8849)
This commit is contained in:
parent
b42edbf2ab
commit
3a62bdd276
@ -580,9 +580,7 @@ class PluginsRegistry:
|
||||
except Exception as error:
|
||||
# Handle the error, log it and try again
|
||||
if attempts == 0:
|
||||
handle_error(
|
||||
error, log_name='init', do_raise=settings.PLUGIN_TESTING
|
||||
)
|
||||
handle_error(error, log_name='init', do_raise=True)
|
||||
|
||||
logger.exception(
|
||||
'[PLUGIN] Encountered an error with %s:\n%s',
|
||||
|
Loading…
x
Reference in New Issue
Block a user