to help exaplin the rethrow concept lets say you are catching database errors. You know sometimesd your database spits back something like information will be truncated. In your catch you handle that error code but other errors codes you do not know how to hadle would then be rethrown to allow a higher error handle to deal with the error.
Incidentally I imagine what is happening is your HTTP times out finally but then your request times out nearly immediately after that (on the cfmail tag) as this point that error is passed up to the application error handle and you get an email that tells you your page timedout and where it timed out at. Adam H On 4/20/05, Ken Dunnington <[EMAIL PROTECTED]> wrote: > I'm trying to update some error reporting on a site I did awhile ago. > It's a fairly messy site, and I eventually plan on refactoring the > whole thing, but for now I just want to get more concise error > reporting. Right now, I have one particular block that is puzzling me. > I have a cftry/cfcatch block with a call to an external payment > gateway (via cfhttp) that has a bad habit of timing out. In the > cfcatch block I have it email me with a dump of #cfcatch#. Now, we > ALSO added an error page in Application.cfm that will email me with > #error# and a few other variables. I am not getting the #cfcatch# > email, and when the transaction times out, the email I get says that > it was cfmail who timed out (but how did I get the email if cfmail > timed out?!) > > Should I just get rid of the try/catch block? Should I use cfthrow or > cfrethrow in the catch block to send the error up to the main error > page? I've never really "gotten" cfrethrow, and I'm fairly sure I'm on > the wrong track here, so any insight would be appreciated. :) > > - Ken > > -- > It's a metaphor for life itself. For that matter, everything in life > is a metaphor for life. Except life. Life is probably a metaphor for > metaphor. -- James Lileks > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:203664 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

