Sha256: d1d1469f226031ce03a7f0b17b60f924c4d13ccb19867e60d4024de616ffb443
Contents?: true
Size: 370 Bytes
Versions: 9
Compression:
Stored size: 370 Bytes
Contents
# Hook in the notification to merb error_notifier = Proc.new { if request.exceptions #check that there's actually an exception NewRelic::Agent.agent.error_collector.notice_error(request.exceptions.first, request, "#{params[:controller]}/#{params[:action]}", params) end } Merb::Dispatcher::DefaultException.before error_notifier Exceptions.before error_notifier
Version data entries
9 entries across 9 versions & 3 rubygems