Chris Norloff wrote: > We've got cfcatch pages that are cfincluded all over the application in cftry >blocks. I'd like to get the error template name for the error message that's logged, >but can't figure out how to without using GetCurrentTemplatePath in every-darn-one of >the cftry blocks. > > GetCurrentTemplatePath - shows the cfcatch page if it's included there. > GetBaseTemplatePath - shows the base page, not including any cfincludes (not much >use for Fusebox!) > GetTemplatePath - deprecated, but still works. gives me the same results as >GetBaseTemplatePath. > > Any ideas out there?
How about "Show template name" in the debugging options in the CF Administrator. If you then use cferror you can catch the page (or maybe parse it out of the error.description in cfcatch as well). Jochem ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

