refactor : adjust use case after mw refactored
This commit is contained in:
@@ -49,7 +49,7 @@ func SetLogInfo(e *Event, data any, args ...string) {
|
||||
Send()
|
||||
}
|
||||
|
||||
func SetLogError(e Event, data any) error {
|
||||
func SetLogError(e *Event, data any) error {
|
||||
dataString, _ := json.Marshal(data)
|
||||
msg := l.I.Msg(e.ErrInfo.Code)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user