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
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
> 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
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
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
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
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
~~
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
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
9 matches
Mail list logo