A simple ColdFusion CFC that sends errors and exceptions to Hoptoad (v2 notifier)
ColdFusion
Switch branches/tags
Nothing to show
Pull request Compare This branch is 4 commits ahead, 15 commits behind timblair:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
HoptoadNotifier.cfc
LICENSE
README.markdown

README.markdown

ColdFusion Hoptoad Notifier

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

Example Usage

<!--- Application.cfc --->
<cfcomponent>
    <cffunction name="onApplicationStart">
        <cfset application.notifier = createobject("component", "HoptoadNotifier").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 Hoptoad API.

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.