You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.
Upgrading mongoid4 - mongoid5 in a Grape project caused this, but I wasn't able to find out how. The fix was to explicitly require the middleware proxy.
The text was updated successfully, but these errors were encountered:
dblock
changed the title
uninitialized constant NewRelic::Agent::Instrumentation::MiddlewareProxy
uninitialized constant NewRelic::Agent::Instrumentation::MiddlewareProxy is swallowed
Oct 31, 2015
If
NewRelic::Agent::Instrumentation::MiddlewareProxy
is not defined, the error is silently swallowed in https://github.com/xinminlabs/newrelic-grape/blob/master/lib/newrelic-grape/instrument.rb#L56. Theexecutes
blocks should probably have an exception handler and fail loudly.Upgrading mongoid4 - mongoid5 in a Grape project caused this, but I wasn't able to find out how. The fix was to explicitly require the middleware proxy.
The text was updated successfully, but these errors were encountered: