Sorry, forgot to mention that I use this code in a sitewide error handling 
template so every error on the site gets emailed to me, even ones in a 
CFTRY/CFCATCH. On a related note, don't use CFTRY/CFCATCH to handle known 
errors. Handle the error directly!

><cfmail to="" from="" subject="Error: #Error.Type#" type="HTML">
>       <CFDUMP var="#error#" label="error">
>       <CFDUMP var="#form#" label="form">
>       <CFDUMP var="#url#" label="url">
>       <CFDUMP var="#CGI#" label="CGI">
>       <CFIF IsDefined('session')><CFDUMP var="#session#" 
> label="session"></CFIF>
>       <CFIF IsDefined('application')><CFDUMP var="#application#" 
> label="application"></CFIF>
></cfmail>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211963
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to