OnError in application.cfc
Hi All,
I have a wierd problem. We had this application, which was running using application.cfm and now we changed to application.cfc. Everything is looking and running fine. One feature we added is to make the OnError function to log the error in the DB and show a customer friendly error.
The issue: For some reason, the onError triggers the error and logs the error into the DB. But the user is never interrupted. Any idea?. The error logged is variable is undefined. But I know, we have set the cfparam and default value as "". Not sure, if that was causing the problem, so I changed that to "0".
I thought, onError will stop the application to run further, if any error found.
I have posted this question to Ray as well. Just posting here to get others thought.
