This information is actually included in the error details.
If you using a try/catch, just do a CFDUMP var="#cfcatch#"> and you will dee
the details your looking for.

Russ 

-----Original Message-----
From: Archie Campbell [mailto:[EMAIL PROTECTED] 
Sent: 09 December 2006 01:22
To: CF-Talk
Subject: ERROR.Template gives main .cfm file. How to the included one.

In a CF7 app, I display an error message that gives the line number of the
error and the main template in which the error occurred.

Fine if the error occurred in the main template.
But what if it occurred in a file that was <cfinclude 'd by the main
template.

Is there a way to display the name of the included template, the file that
the line number actually relates to?

Thanks

Archie Campbell



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263395
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