Within the Fusebox framework, this is the code I use in fbx_Settings.cfm <cferror exception="any" type="exception" mailto="#request.adminemail#" template="error.cfm">
Works fine, captures any error on the site -----Original Message----- From: Torrent Girl [mailto:[EMAIL PROTECTED] Sent: 11 July 2005 18:57 To: CF-Newbie Subject: Custom Error Handling Hello all I am adding CEH to a site and am using EXCEPTION versus request because I want the errors emailed. I created an errorException file and included it in my app.cfm file, but it is not working. What kinds of errors will the exception file work with? Thank you TGirl P.s. - code in applcfm - <cferror type="EXCEPTION" template="ErrorException.cfm"> ErrorException.cfm: <cfif errorEmail NEQ ""> <cfmail to="#ErrorEmail#" from="[EMAIL PROTECTED]" Subject="Error on page #Error.Template#" type="html"> Error Date/Time: #Error.DateTime# User's Browser: #Error.Browser# URL Parameters: #Error.QueryString# Previous Page: #Error.HTTPReferer#<br><br> <hr> #Error.Diagnostics# </cfmail> </cfif> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1285 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
