mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
add plug back in
This commit is contained in:
parent
44a2845a75
commit
ce9bbb4f2e
@ -86,8 +86,8 @@ def handle_error(error, do_raise: bool = True, do_log: bool = True, log_name: st
|
|||||||
|
|
||||||
if do_raise:
|
if do_raise:
|
||||||
# do a straight raise if we are playing with enviroment variables at execution time, ignore the broken sample
|
# 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':
|
if settings.TESTING_ENV and package_name != 'integration.broken_sample':
|
||||||
# raise error
|
raise error
|
||||||
raise IntegrationPluginError(package_name, str(error))
|
raise IntegrationPluginError(package_name, str(error))
|
||||||
# endregion
|
# endregion
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user