ID The tag in which the exception occurred. I do.) 2) You will get an error with no path shown. The tag stack consists of each tag that is currently open. For example, you could define a type as follows:
Lets recap: Do a quick test to figure out how your application responds to errors. Assuming we have a struct created during onApplicationStart called "ErrorLog", here's our code for sending and tracking the error emails.
An error has been encountered on #hostaddress#:
The following error has occurred #Application.ErrorLog[localVars.errormess].Count# times in the last four hours on #hostaddress#: # localVars.basicinfo#
Do your own logging, and email yourself a detailed report. The full error pages are viewable through an admin login area and SSL. Not sure if this is what you're talking about; but, it has helped us. error.HTTPReferer Page from which client accessed link to page where error occurred.
So I just logged the message for now. I have multiple query results in a form, which the user will update only one record. So what now? Coldfusion Structkeyexists But that is a whole other discussion.
More about that approach later. Coldfusion Error Page Something went wrong. The error page does display it just strippes out any cf calls which is annoying because I want to be able to use cf mail etc within the file. –Ben Thomas http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7d4a.html The Exception argument here looks a bit different.
View Help PDF ( 32MB) Home / ColdFusion9CFMLReference / ColdFusion Tags / Tags d-e cferror DescriptionDisplays a custom HTML page when an error occurs. Coldfusion Onerror I seem to be having an issue receiving emails from the script. For example, for a database exception, the SQL statement that caused the error is in the error.RootCause.Sql variable. Also set a flag so that we know ifinformation has been committed.--->