Publish message when error occurs during crash handling

This commit is contained in:
Dane Everitt 2020-12-06 15:34:58 -08:00
parent 3f2ce59766
commit deea5babbc
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -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")
}
}