From f4fbd57e6e515c534826aadb891a48842d9bcaa7 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 15 May 2022 18:09:05 +0200 Subject: [PATCH] errors fail whole plugins now so no saving --- InvenTree/plugin/registry.py | 1 - 1 file changed, 1 deletion(-) diff --git a/InvenTree/plugin/registry.py b/InvenTree/plugin/registry.py index 311772c795..b2769f87aa 100644 --- a/InvenTree/plugin/registry.py +++ b/InvenTree/plugin/registry.py @@ -300,7 +300,6 @@ class PluginsRegistry: # Errors are bad so disable the plugin in the database if not settings.PLUGIN_TESTING: # pragma: no cover plugin_db_setting.active = False - # TODO save the error to the plugin plugin_db_setting.save(no_reload=True) # Add to inactive plugins so it shows up in the ui