Publish message when error occurs during crash handling
This commit is contained in:
		
							parent
							
								
									3f2ce59766
								
							
						
					
					
						commit
						deea5babbc
					
				| 
						 | 
				
			
			@ -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")
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user