From d54bbf562b63d41519bc6947b790f32bdb177fc0 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 22 Nov 2021 01:06:12 +0100 Subject: [PATCH] remove redundant loggin --- InvenTree/plugin/registry.py | 1 - 1 file changed, 1 deletion(-) diff --git a/InvenTree/plugin/registry.py b/InvenTree/plugin/registry.py index f872a9acd2..8991c9975e 100644 --- a/InvenTree/plugin/registry.py +++ b/InvenTree/plugin/registry.py @@ -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