Right, we can't totally eliminate errors (well, at least it's really
hard).... All I am saying is that if you are getting a very consistent
and duplicatable error, then start debugging the template that causes
the error. 

Yeah, I use the OnERror method in App.cfc. I also find it to be
tremendously helpful :) 


......................
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-----Original Message-----
From: Josh Nathanson [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 30, 2007 4:20 PM
To: CF-Talk
Subject: Re: Error recovery

> Bottom line.... Your page should NOT be throwing errors. I assume we 
> are talking about debugging here. Put in temp code to help debug, 
> narrow it down, fix, then remove the debugging code.

Well...I find the error catching framework available in App.cfc to be
tremendously helpful.  I run a public facing ecommerce site that gets
around 80K page views a day. There are sometimes edge cases that I miss
in my local testing, that can throw an error in the production
environment.  In these cases I immediately get an email with the error
details and all the scopes (except variables) dumped so I can diagnose
and fix it quickly.

This doesn't mean my code throws tons of errors -- just that it does
happen occasionally, and I need to know about it immediately if it does.

And yes the goal is to have no errors!

-- Josh 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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

Reply via email to