1
0
mirror of https://shylinux.com/x/icebergs synced 2025-06-26 18:37:29 +08:00
This commit is contained in:
shaoying 2021-07-27 23:29:06 +08:00
parent 8656aa637c
commit 12c0cde0d5

View File

@ -97,7 +97,7 @@ func (m *Message) Warn(err bool, arg ...interface{}) bool {
} }
m.meta[MSG_RESULT] = kit.Simple(ErrWarn, arg) m.meta[MSG_RESULT] = kit.Simple(ErrWarn, arg)
m.log(LOG_WARN, m.join(arg)) m.log(LOG_WARN, m.join(kit.Simple(arg)))
return err return err
} }
func (m *Message) Error(err bool, str string, arg ...interface{}) bool { func (m *Message) Error(err bool, str string, arg ...interface{}) bool {