mirror of
				https://github.com/TeaOSLab/EdgeNode.git
				synced 2025-11-04 16:00:25 +08:00 
			
		
		
		
	修改panic错误提示
This commit is contained in:
		@@ -553,7 +553,7 @@ func (this *Node) handlePanic() {
 | 
			
		||||
	if err == nil {
 | 
			
		||||
		var index = bytes.Index(data, []byte("panic:"))
 | 
			
		||||
		if index >= 0 {
 | 
			
		||||
			remotelogs.Error("NODE", "fatal error: "+string(data[index:]))
 | 
			
		||||
			remotelogs.Error("NODE", "系统错误,请上报给开发者: "+string(data[index:]))
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user