From a1791645fa8b6423e55671c0a838556f1d619f42 Mon Sep 17 00:00:00 2001 From: Matthias Mair <66015116+matmair@users.noreply.github.com> Date: Fri, 18 Mar 2022 02:19:32 +0100 Subject: [PATCH] just raise --- 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 2db1b79bdd..4d12f56566 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