Jim,

On 2/18/2004 at 12:45, you wrote:

JM> If I had a cferror type="exception" configured in an app's
JM> application.cfm, _plus_ had a system-wide error handler set up in
JM> the CF Administrator, would I be correct in assuming that the
JM> error handling hierarchy would fire the application level error
JM> handler first?

Yes. And with a custom server-level handler enabled, cferror
type="request" gets ignored altogether (as far as I've seen). So
either use type="exception", type="request", and use the default
server-level handler as a fail-safe; or use type="exception" with a
custom server-level handler as a fail-safe.

JM> For development I can easily comment out an application level
JM> cferror statement to get helpful error messages.  If there were a
JM> server-level handler set up, is there a way to disable it in an
JM> application or specific template while doing development work?

A custom server-level handler cannot be disabled at the code level as
far as I know. What I usually do is either edit the application-level
handler to display a dump of the error scope for my IP address or
upload an OnRequestEnd.cfm module that dumps the error scope, if it
exists, for my IP address.

~ Ubqtous ~
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to