efigence / yabeda-grape

Extensible metrics for monitoring Grape API endpoints
4 stars 1 forks source link

Workaround for bug in grape in case of a 405 MethodNotSupported error #12

Closed rhomeister closed 4 years ago

rhomeister commented 4 years ago

The line event.payload[:endpoint].route throws an error in case of a 405 MethodNotSupportedError. This PR is a workaround for this problem.

Prorok64b commented 4 years ago

yabeda-grape-0.2.0.1