From deea5babbc38a7b25505496d1972f0e626121717 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 6 Dec 2020 15:34:58 -0800 Subject: [PATCH] Publish message when error occurs during crash handling --- server/state.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/state.go b/server/state.go index d0b2c15..52573f9 100644 --- a/server/state.go +++ b/server/state.go @@ -114,6 +114,7 @@ func (s *Server) OnStateChange() { if IsTooFrequentCrashError(err) { server.Log().Info("did not restart server after crash; occurred too soon after the last") } else { + s.PublishConsoleOutputFromDaemon("Server crash was detected but an error occurred while handling it.") server.Log().WithField("error", err).Error("failed to handle server crash") } }