I  create a nice ERROR message with CFTRY/CFCATCH blocks and a CFERROR
backup, with a bit of DHTML to show the actual error, if you click a button
it displays a hidden div.
This means you can view the error on the site still with your error trapping
intact.
In addition I dump the errors out to a HTML file which I can easily pop open
in the browser.
So I do not have to wait for emails to arrive in my inbox to see what the
error was.

As well as the CFCATCH error details, I also dump all variable scopes out to
the debug file so that I can see exactly what was happening or what data was
submitted when the error occurred.

Russ 

-----Original Message-----
From: Josh Nathanson [mailto:[EMAIL PROTECTED] 
Sent: 02 October 2006 17:43
To: CF-Talk
Subject: Re: standards with error handling

In my CFERROR tag and handler, I have it so it emails me whenever an error
occurs, with all the information about the error.  This has been
tremendously helpful as I am immediately alerted to any errors in the
application.  I highly recommend it.

-- Josh




----- Original Message -----
From: "Richard White" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Monday, October 02, 2006 8:25 AM
Subject: Re: standards with error handling


> this is a really good idea, thanks claude
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255054
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to