Sha256: c38d945e29a6299723336ef409b08b84bf5441ae79891efd3f1db779431b635f
Contents?: true
Size: 431 Bytes
Versions: 40
Compression:
Stored size: 431 Bytes
Contents
# Hook in the notification to merb error_notifier = Proc.new { if request.exceptions #check that there's actually an exception # Note, this assumes we have already captured the other information such as uri and params in the MetricFrame. NewRelic::Agent::Instrumentation::MetricFrame.notice_error(request.exceptions.first) end } Merb::Dispatcher::DefaultException.before error_notifier Exceptions.before error_notifier
Version data entries
40 entries across 40 versions & 3 rubygems