Improve restart fallback error message
Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/8e6c98f7-8b24-4ec0-944b-0310e0989495 Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
c37816d257
commit
b5e89c38f8
@@ -326,7 +326,7 @@ async function openServiceDetailModal(unit, name, icon) {
|
||||
}, RESTART_REFRESH_DELAY_MS);
|
||||
} catch (e) {
|
||||
restartResult.classList.add("error");
|
||||
restartResult.textContent = e && e.message ? e.message : "Failed to restart service.";
|
||||
restartResult.textContent = e && e.message ? e.message : "Failed to restart service. Please check service logs and try again.";
|
||||
restartBtn.disabled = false;
|
||||
restartBtn.textContent = "🔄 Restart Service";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user