update
parent
a5342c3ef5
commit
16616ed5bc
|
@ -33,7 +33,8 @@ func (srv *Service) Default(c *gin.Context) {
|
|||
cl.Str("error", fmt.Sprint(err))
|
||||
}
|
||||
if !util.PROD {
|
||||
cl.Str("trace", util.Stack())
|
||||
cl.Caller(4)
|
||||
// cl.Str("trace", util.Stack())
|
||||
}
|
||||
} else if c.Writer.Status() >= 400 {
|
||||
cl = srv.l.Error().Strs("error", c.Errors.Errors())
|
||||
|
|
Loading…
Reference in New Issue