mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
opt some
This commit is contained in:
parent
d99cd8c0c6
commit
bca3c8bb0d
1
exec.go
1
exec.go
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user