CF Airbrake Notifier if a simple CFC for handling errors and exceptions from ColdFusion and sending them to Airbrake; it uses v2.2 of the Airbrake API. CF Airbrake Notifier requires ColdFusion 8+.
<!--- Application.cfc --->
<cfcomponent>
<cffunction name="onApplicationStart">
<cfset application.notifier = createobject("component", "AirbrakeNotifier").init(API_KEY)>
</cffunction>
<cffunction name="onError">
<cfargument name="exception">
<cfset application.notifier.send(arguments.exception)>
</cffunction>
</cfcomponent>
This is a completely rewritten-from-scratch, drop-in replacement for Shayne Sweeney's coldfusion-hoptoad-notifier that works with v2 of the Airbrake API.
ColdFusion Airbrake Notifier used to be known as ColdFusion Hoptoad Notifier. To avoid a potential trademark infrigement, thoughtbot (the makers of Hoptoad/Airbrake) changed the name; this project was renamed and updated appropriately.
This project is released under the MIT license as detailed in the LICENSE file that should be distributed with this library; the source code is freely available.
This project was developed by Tim Blair during work on White Label Dating, while employed by Global Personals Ltd. Global Personals Ltd have kindly agreed to the extraction and release of this software under the license terms above.