1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 01:24:05 +08:00
This commit is contained in:
harveyshao 2022-04-11 10:22:34 +08:00
parent d99cd8c0c6
commit bca3c8bb0d

View File

@ -22,6 +22,7 @@ func (m *Message) TryCatch(msg *Message, silent bool, hand ...func(msg *Message)
m.Log(LOG_WARN, "catch: %s %s", e, fileline)
m.Log("stack", msg.FormatStack())
m.Log(LOG_WARN, "catch: %s %s", e, fileline)
m.Echo("%v", e)
if len(hand) > 1 {
m.TryCatch(msg, silent, hand[1:]...)
} else if !silent {