From bca3c8bb0dd71b024ad4c10bd7c3b2d8158f80c1 Mon Sep 17 00:00:00 2001 From: harveyshao Date: Mon, 11 Apr 2022 10:22:34 +0800 Subject: [PATCH] opt some --- exec.go | 1 + 1 file changed, 1 insertion(+) diff --git a/exec.go b/exec.go index c1d6b038..2ffc9cc6 100644 --- a/exec.go +++ b/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 {