Skip to content

Commit

Permalink
chore: fix logging message
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Oct 20, 2024
1 parent 78693d3 commit 919645a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func getDefaultErrorHandler() echo.HTTPErrorHandler {
}

if errors.Is(err, context.Canceled) {
log.Error("unexpected echo error",
log.Error("request timeout",
zap.Int("code", http.StatusInternalServerError),
zap.Any("message", "request timeout"),
zap.String("path", c.Request().URL.Path),
Expand Down

0 comments on commit 919645a

Please sign in to comment.