onError in Application.cfc
My old method was using the <cferror template="error.cfm" type="exception"> in application.cfm and on the error.cfm page I would loop through the "error" collection and place the different error information in a table in the db. I am trying to accomplish this with Application.cfc without any luck. I see the standard method is to call the Exception argument but that collection does not contain all the information I need like the IP, browser or reffering page. Any ideas? I simply want the error collection so I can loop through it and insert into the db.
Thanks
