From be5289ba0f788ecac8c344a0b50010016c95f0f7 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 21 Nov 2021 00:53:04 +0100 Subject: [PATCH] break on database error --- InvenTree/plugin/registry.py | 1 + 1 file changed, 1 insertion(+) diff --git a/InvenTree/plugin/registry.py b/InvenTree/plugin/registry.py index 63ead808cb..1b693c8c5b 100644 --- a/InvenTree/plugin/registry.py +++ b/InvenTree/plugin/registry.py @@ -75,6 +75,7 @@ class Plugins: except (OperationalError, ProgrammingError): # Exception if the database has not been migrated yet logger.info('Database not accessible while loading plugins') + break except IntegrationPluginError as error: logger.error(f'Encountered an error with {error.path}:\n{error.message}') log_plugin_error({error.path: error.message}, 'load')