Save yourself a lot of time and headache by not wrapping everything in cfcatch and instead use the <cferror> tag to redirect all errors to a custom error page.
Just put it in your application.cfm. Something like... <cferror type="EXCEPTION" exception="any" template="#request.cfroot#/cferror.cfm"> When an error occurs on any page that uses that application.cfm, the user would be redirected to cferror.cfm. Display an apology to them and cfmail yourself the error structure. Particularly the variable 'error.diagnostics' which holds the error message you are looking for -----Original Message----- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Monday, April 25, 2005 6:46 PM To: CF-Talk Subject: HOw to Access error info Hey All, Currently when an error occurs, an e-mail with a dump of CFCATCH is e-mailed to developers (using a cftry/catch of course). That info is close to useless (no line numbers for starters...and lost of Java that is meaningless).....it's even worse when your app is served up through a reverse proxy. What I'd love to get my hands on is the stuff that shows in the classic view of CF debugging output...especially the error text and line number (you know...just under the files run with processing times..."Error Executing Query xyz"...or MyVar undefined at line:20" kinda stuff). So how can I reference that? TIA Cheers Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:4:204386 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

