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