TODO: TypeError is too unspecific

This might need better error filtering, assuming that we need it in the
first place. For now, remove entirely.
This commit is contained in:
Matthias Urlichs committed 2019-01-28 20:36:02 +01:00
1 parent 1e01e587f3
commit 6bc4d8fca4
1 file changed
-6
-6
View File
@@ -273,12 +273,6 @@ def _get_plugin_settings():
try:
result = plugin.on_settings_load()
process_plugin_result(plugin._identifier, result)
except TypeError:
logger.warning("Could not load settings for plugin {name} ({version}) since it called super(...)".format(name=plugin._plugin_name,
version=plugin._plugin_version))
logger.warning("in a way which has issues due to OctoPrint's dynamic reloading after plugin operations.")
logger.warning("Please contact the plugin's author and ask to update the plugin to use a direct call like")
logger.warning("octoprint.plugin.SettingsPlugin.on_settings_load(self) instead.")
except Exception:
logger.exception("Could not load settings for plugin {name} ({version})".format(version=plugin._plugin_version,
name=plugin._plugin_name))