From ce9bbb4f2eb93cfa25af70faa1c6225c551d3052 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 13 Mar 2022 22:36:07 +0100 Subject: [PATCH] add plug back in --- InvenTree/plugin/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/plugin/helpers.py b/InvenTree/plugin/helpers.py index 574514aef3..2db1b79bdd 100644 --- a/InvenTree/plugin/helpers.py +++ b/InvenTree/plugin/helpers.py @@ -86,8 +86,8 @@ def handle_error(error, do_raise: bool = True, do_log: bool = True, log_name: st if do_raise: # do a straight raise if we are playing with enviroment variables at execution time, ignore the broken sample - #if settings.TESTING_ENV and package_name != 'integration.broken_sample': - # raise error + if settings.TESTING_ENV and package_name != 'integration.broken_sample': + raise error raise IntegrationPluginError(package_name, str(error)) # endregion