Inside of the CFERROR template, you should have a variable, CFERROR:

<cfdump var="#CFERROR#" />

This will contain all the error specific info. Is this what you are
talking about?

Just be careful - this variable is only there IF the template is
executed via an error. If you go to it directly, this does not exist.

......................
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-----Original Message-----
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 30, 2007 12:32 PM
To: CF-Talk
Subject: Error recovery

Hi,

In my CMS I'm using some template defined in a <CFERROR tag in the
Application.cfm template to log every detail I can in a memo field in
the database, for further examination.
I can dump almost everything, especially the session, URL, form scopes.
But I do not have the variables from the template causing the error,
since the dump is made in a new template.

Would any one have an idea about some trick I could use to dump this
variables scope?
Assuming CF MX.

Thanks.

--
_______________________________________
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276555
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to