I had a very funny experience with cftry/catch. I was taking responsibility for a huge and kludgey application that was the result of 2-3 different developers over time. The developer before me had put try/catches all over the place. They just caught 'any' and emailed him the error. I wasn't really paying attention to this until one day I accidentally created an infinite loop on a page. I was trying to figure out why my page was just sitting and spinning with nothing happening, then I decided it must be stuck in a loop. No big deal, I fixed it and moved on. A couple of hours later I got a call from the previous developer, who had just received 2-3 thousand emails from the app! Serves him right for setting it up that way. :-D
> -----Original Message----- > From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 19, 2005 6:46 AM > To: CF-Talk > Subject: RE: Using try/catch all over the place a good thing? > > I missed commenting on the EVERYTHING since I thought he was > looking for a > solution to this... > > > I can see a problem though where the cffile might > > work, then the query fails but you don't know it > > > > you probably want to let the user know about it > Usually, yes, but again, there are plenty of occassions where > you do not > want to do that or do not want to interrupt the remaining > experience because > of a trivial error. > > As for the planets being aligned... I usually just tell them > they have to > hold their mouth right when surfing lol > > ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. > Bobby Hartsfield > http://acoderslife.com This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221483 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