From 681200163932b69acbb10fe59acec163210311b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 12 Feb 2018 14:21:26 +0100 Subject: [PATCH] SWU: Point to log file by name in error messages --- .../plugins/softwareupdate/static/js/softwareupdate.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js b/src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js index 60e962bb8..a696d3f20 100644 --- a/src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js +++ b/src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js @@ -523,7 +523,7 @@ $(function() { self.updateInProgress = false; self._showPopup({ title: gettext("Update not started!"), - text: gettext("The update could not be started. Is it already active? Please consult the log for details."), + text: gettext("The update could not be started. Is it already active? Please consult octoprint.log for details."), type: "error", hide: false, buttons: { @@ -719,7 +719,7 @@ $(function() { self.waitingForRestart = true; self.restartTimeout = setTimeout(function() { title = gettext("Restart failed"); - text = gettext("The server apparently did not restart by itself, you'll have to do it manually. Please consult the log file on what went wrong."); + text = gettext("The server apparently did not restart by itself, you'll have to do it manually. Please consult octoprint.log on what went wrong."); self._showPopup({ title: title, @@ -762,9 +762,9 @@ $(function() { } case "restart_failed": { restartType = messageData.restart_type; - text = gettext("Restarting OctoPrint failed, please restart it manually. You might also want to consult the log file on what went wrong here."); + text = gettext("Restarting OctoPrint failed, please restart it manually. You might also want to consult octoprint.log on what went wrong here."); if (restartType === "environment") { - text = gettext("Rebooting the server failed, please reboot it manually. You might also want to consult the log file on what went wrong here."); + text = gettext("Rebooting the server failed, please reboot it manually. You might also want to consult octoprint.log on what went wrong here."); } title = gettext("Restart failed"); @@ -800,7 +800,7 @@ $(function() { } case "error": { title = gettext("Update failed!"); - text = gettext("The update did not finish successfully. Please consult the log for details."); + text = gettext("The update did not finish successfully. Please consult octoprint.log and plugin_softwareupdate_console.log for details."); self._showPopup({ title: title, text: text,