In our Rails app we rescue most of the exceptions on ApplicationController to give correct API response, but still want to track errors happening using ErrorCollector. Is there
Not sure if it's recommended way to use, but this works perfectly:
NewRelic::Agent.agent.error_collector.notice_error( exception )