master
Evan Chen 2021-12-19 14:53:36 +08:00
parent 7d1e0b7a7b
commit c276c276c4
1 changed files with 1 additions and 1 deletions

View File

@ -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()