Skip to content

Commit

Permalink
fix(DefaultHTTPErrorHandler): remove useless break statement in switc…
Browse files Browse the repository at this point in the history
…h case
  • Loading branch information
gnuletik committed May 28, 2023
1 parent f133ab6 commit e7e0db9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion echo.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,6 @@ func (e *Echo) DefaultHTTPErrorHandler(err error, c Context) {
}
case json.Marshaler:
// do nothing - this type knows how to format itself to JSON
break
case error:
message = Map{"message": m.Error()}
}
Expand Down

0 comments on commit e7e0db9

Please sign in to comment.