2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 19:15:41 +00:00

remove redundant loggin

This commit is contained in:
Matthias
2021-11-22 01:06:12 +01:00
parent 4b98ea27ce
commit d54bbf562b

View File

@ -188,7 +188,6 @@ class Plugins:
if (plugin.__name__ == disabled) or (plugin.__module__==disabled):
# errors are bad so disable the plugin in the database
# but only if not in testing mode as that breaks in the GH pipeline
log_plugin_error({plug_key: 'Disabled'}, 'init')
if not settings.PLUGIN_TESTING:
plugin_db_setting.active = False
# TODO save the error to the plugin