I've got part of the answer. Its a bug in ColdFusion. In the previous example I created an error just in front of the CFCATCH statement, so the value of error.message is
Invalid token 'c' found on line 6 at column 2. Line 8 is <cfcatch type="Any"> and is the highlighted line on the raw CF error message. If instead I cause the error to the opening cfoutput instead of the closing one just before the cfcatch line, like this: cfoutput>#cgi.http_user_agent#</cfoutput> The cfcatch template doesn't fire, but the site-wide error handler fires properly and doesn't display a raw message. -- --mattRobertson-- Janitor, MSB Web Systems mysecretbase.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201953 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54