We use a site-wide error handler (and generally don't use cfcatch), but I seem
to recall that an error in the error handler code itself can cause the original
error to be displayed.
Mark
-----Original Message-----
From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 1:19 PM
To: CF-Talk
Subject: CFTRY/CFCATCH exposing CF errors?
Hey All,
PROBLEM:
An Oracle "connection refused" error was displayed in a production system (yes
all the lovely SQL exposed to the public..bad, bad, bad), when the code that
attempted the connection was wrapped in a CFTRY/CFCATCH...that runs an error
handling tag on error. The tag is supposed to display a user-friendly message
and e-mail the error to the developers (and works 99.9% of the time).
So...how can a standard CF error be displayed when a CFTRY/CFCATCH is setup
specifically to NOT show actual CF error messages?
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201929
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