In my migration from CFMX 7 to Open BD, I'm encountering a difficult
problem. Despite much effort, I don't seem to be able to get cferror
to "handle" all exceptions. In CFMX 7, I could use this code:
<cferror type="exception" template="/webroot/oops.cfm"
mailto="[email protected]" exception="any">

...and all types of exceptions would be handled: so the template at /
webroot/oops.cfm included a standard cfmail routine to notify me of
the error. It always worked.

But with Open BD, I can't not seem to get cferror to handle error
types of Database and Application. So in those cases the user gets the
raw error message, and I am not notified through the cfmail routine.

I have scoured the forums here. This issue is related:
http://groups.google.com/group/openbd/browse_thread/thread/886df7063f4bd23b/78ee9598a97ce614?lnk=gst&q=cferror#78ee9598a97ce614

Basically, that thread says that if if you try to refer to a key in
the cferror struct that does not exist, such as cferror.rootcause in
the case listed, the user will be shown the error message and no
cfmail routine will happen. That doesn't seem to be the issue in my
case. To be certain about that, I am not referring to any exotic
cferror keys.

Can anyone help solve this issue? I would be very grateful.

Thanks,
Stephen

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to