mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
errors fail whole plugins now so no saving
This commit is contained in:
parent
45d70737bd
commit
f4fbd57e6e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user