From 6bc4d8fca4b5f1f427024a542b46b2ea5dfbdf2d Mon Sep 17 00:00:00 2001 From: Matthias Urlichs Date: Mon, 28 Jan 2019 20:33:22 +0100 Subject: [PATCH] TODO: TypeError is too unspecific This might need better error filtering, assuming that we need it in the first place. For now, remove entirely. --- src/octoprint/server/api/settings.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/octoprint/server/api/settings.py b/src/octoprint/server/api/settings.py index 82d277987..a80a7036d 100644 --- a/src/octoprint/server/api/settings.py +++ b/src/octoprint/server/api/settings.py @@ -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))