From 3a62bdd2762e36bb22dd06edc3eacc626a4feff3 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 7 Jan 2025 17:07:07 +1100 Subject: [PATCH] Ensure error is raised (#8849) --- src/backend/InvenTree/plugin/registry.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/backend/InvenTree/plugin/registry.py b/src/backend/InvenTree/plugin/registry.py index 5a46a27a20..19afdec371 100644 --- a/src/backend/InvenTree/plugin/registry.py +++ b/src/backend/InvenTree/plugin/registry.py @@ -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',