Skip to content

Commit

Permalink
improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrilevos committed Mar 26, 2024
1 parent 25fb819 commit 4e26410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func NewConfig() *Config {
return false
},
ErrorHandler: func(c echo.Context, err error) error {
logger.Error().Err(err).Msg("proxy error")
logger.Error().Err(err).Str("method", c.Request().Method).Str("uri", c.Request().URL.Path).Msg("proxy error")
c.Logger().Error(err)
return err
},
Expand Down

0 comments on commit 4e26410

Please sign in to comment.