You can use the CFError type=Exception, but this will catch the error
totally and you have to write some text for the end user telling them that
there was an error. If your on CF 5, then you can use CFERROR type=monitor,
which is superior in my opinion. You can read up on this here:
http://www.houseoffusion.com/error.ppt
It's a little out of date for MX, but the concepts are solid.

> Can you implement that is a shared hosting environment?
> Say each Application or hosting per-se has it's own site
> wide error handler?
>
>
> >>> [EMAIL PROTECTED] 10/21/03 10:57AM >>>
> You can add a site wide error handler to catch all the errors and email
> you
> all the info. I use a CFMAIL tag (HTML mail) that contains a CFDUMP of
> the
> following data structures:
> Error
> CGI
> Url
> Form
> Session
> Application
> This gives me a huge dump of useful information that I can then use to
> hunt
> down and kill the error.
>
> > Hello:
> >
> > I've inheritied an aweful application that is buggy as Windows
> itself...I
> look in the logs & I find all these errors that are occurring with it,
> but
> without knowing some things that the end user is doing, I cannot figure
> them
> all out.
> >
> > Without going through the code & putting in <CFCATCH>, is there a way
> I
> can turn off the messaging that appears by default?
> >
> > There's no point in putting too much effort into it yet since I will
> be
> redesigning the entire thing this spring, so the easiest solution to
> get by
> is what I'm looking for...
> >
> > Any help would be greatly appreciated.
> >
> > Thanks,
> >
> > Scott
> >
> >
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to