Skip to content

Commit

Permalink
Merge pull request #672 from luraproject/log_failed_register_endpoint
Browse files Browse the repository at this point in the history
Log the name of the endpoints which failed to register for an unsuppo…
  • Loading branch information
kpacha committed Jun 22, 2023
2 parents 55317de + ebaa268 commit 37000b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router/gin/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (r ginRouter) registerKrakendEndpoint(rg *gin.RouterGroup, method string, e
case http.MethodDelete:
rg.DELETE(path, h)
default:
r.cfg.Logger.Error(logPrefix, "Unsupported method", method)
r.cfg.Logger.Error(logPrefix, "[ENDPOINT:", path, "] Unsupported method", method)
return
}

Expand Down

0 comments on commit 37000b2

Please sign in to comment.