update
parent
7d1e0b7a7b
commit
c276c276c4
|
@ -31,7 +31,7 @@ func (srv *Service) Default(c *gin.Context) {
|
|||
c.Abort()
|
||||
cl.Str("error", fmt.Sprint(err))
|
||||
}
|
||||
} else if c.Writer.Status() >= 500 {
|
||||
} else if c.Writer.Status() >= 400 {
|
||||
cl = srv.l.Error().Strs("error", c.Errors.Errors())
|
||||
} else {
|
||||
cl = srv.l.Info()
|
||||
|
|
Loading…
Reference in New Issue