Fixing bug in debug path stderr output
1 files changed, 2 insertions(+), 1 deletions(-) M server/server.go
M server/server.go => server/server.go +2 -1
@@ 121,7 121,8 @@ func (s *Server) HTTPErrorHandler(err error, c echo.Context) { // Print Debug info if s.Config.Debug { msg := fmt.Sprintf("[ERROR] %v\n%s\n%v\n%s\n", err, c.Path(), c.QueryParams(), stack) msg := fmt.Sprintf( "[ERROR] %v\n%s\n%v\n%s\n", err, c.Request().URL.Path, c.QueryParams(), stack) s.e.Logger.Printf(msg) fmt.Fprintf(os.Stderr, msg) }