RE: CFERROR Handler

2012-12-06 Thread DURETTE, STEVEN J
e- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Thursday, December 06, 2012 1:19 PM To: cf-talk Subject: Re: CFERROR Handler > Seems to me if it generates an error which looks like a ColdFusion error then > we should be able to display something > other than that error. That is just a c

RE: CFERROR Handler

2012-12-06 Thread Robert Harrison
Thank you all for the input. This was a simulation of the actual problem I'm trying to address and your help gave me what I needed. What I'm really trying to get fixed is server error that comes up in some situations; one of which is the sample "hard-error" page I posted. I just needed to give

Re: CFERROR Handler

2012-12-06 Thread Dave Watts
> Seems to me if it generates an error which looks like a ColdFusion error then > we should be able to display something > other than that error. That is just a common security practice to NOT have > debug information go out to the public. You can! This is why every application should include

RE: CFERROR Handler

2012-12-06 Thread Leigh
IIRC I think site wide error handlers can catch it. However, compile errors in prod applications is not the norm, since it would mean the code was never tested. -Leigh --- On Thu, 12/6/12, DURETTE, STEVEN J wrote: From: DURETTE, STEVEN J Subject: RE: CFERROR Handler To: "cf-talk&q

RE: CFERROR Handler

2012-12-06 Thread DURETTE, STEVEN J
Java? Steve -Original Message- From: Leigh [mailto:cfsearch...@yahoo.com] Sent: Thursday, December 06, 2012 11:55 AM To: cf-talk Subject: Re: CFERROR Handler Search the HOF archives. I remember there is a thread about this topic. In brief, error handlers only capture runtime excep

RE: CFERROR Handler

2012-12-06 Thread Robert Harrison
1:55 AM To: cf-talk Subject: Re: CFERROR Handler Search the HOF archives. I remember there is a thread about this topic. In brief, error handlers only capture runtime exceptions. That is a compile error, which happens before the code ever executes. So standard cfm error handlers cannot captu

Re: CFERROR Handler

2012-12-06 Thread Leigh
Search the HOF archives. I remember there is a thread about this topic. In brief, error handlers only capture runtime exceptions. That is a compile error, which happens before the code ever executes. So standard cfm error handlers cannot capture it. -Leigh ~~

Re: CFERROR Handler

2012-12-06 Thread Carl Von Stetten
ColdFusion can only route runtime errors to an error handler (your soft error). Compile errors (such as invalid tag names) can't be interpreted by ColdFusion and cause a "hard error". Not much you can do about that. -Carl V. On 12/6/2012 8:39 AM, Robert Harrison wrote: > I have an exception

CFERROR Handler

2012-12-06 Thread Robert Harrison
I have an exception error handler - type="exception" error="any" It mostly works... see http://www.austin-williams.com/_soft_error.cfm - this a bad var name; works as it should and sends me a dump. Now look here: http://www.austin-williams.com/_hard_error.cfm - this is bad cftag name; sho