Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.91 KB

README.markdown

File metadata and controls

31 lines (21 loc) · 1.91 KB

ColdFusion Airbrake Notifier

CF Airbrake Notifier if a simple CFC for handling errors and exceptions from ColdFusion and sending them to Airbrake; it uses v2.1 of the Airbrake API. CF Airbrake Notifier requires ColdFusion 8+.

Example Usage

<!--- 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>

Replacement for coldfusion-hoptoad-notifier

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.

Project Name Change

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.

Licensing and Attribution

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.