SWU: Refer to console log on update failure
This commit is contained in:
1 parent
cfb0eb84e2
commit
8e764e34ee
2 files changed
+2
-2
No files matched your search
@@ -920,7 +920,7 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin,
|
||||
self._send_client_message("update_failed", dict(target=target, version=target_version, name=populated_check["displayName"], reason="No internet connection"))
|
||||
|
||||
except Exception as e:
|
||||
self._logger.exception("Update of %s can not be performed" % target)
|
||||
self._logger.exception("Update of %s can not be performed, please also check plugin_softwareupdate_console.log for possible causes of this" % target)
|
||||
if not "ignorable" in populated_check or not populated_check["ignorable"]:
|
||||
target_error = True
|
||||
|
||||
|
||||
@@ -815,7 +815,7 @@ $(function() {
|
||||
}
|
||||
case "error": {
|
||||
title = gettext("Update failed!");
|
||||
text = gettext("The update did not finish successfully. Please consult octoprint.log and plugin_softwareupdate_console.log for details.");
|
||||
text = gettext("The update did not finish successfully. Please consult <code>octoprint.log</code> and <code>plugin_softwareupdate_console.log</code> for details.");
|
||||
self._showPopup({
|
||||
title: title,
|
||||
text: text,
|
||||
|
||||
Reference in new issue
Block a user