On 3/7/06, Andy Matthews <[EMAIL PROTECTED]> wrote: > My company has a CF error log that we maintain for all of our sites. I went > through it last night and was shocked at all of the errors that are getting > reported. > > Other than manually trapping each individual possibility, is there a way to > catch all errors and display them in a nice pretty page instead of showing > the default CF error page? > > Up until now, error handling has not been my strong point, and in most cases > hasn't thought of at all. I'm wondering if there's some code that I can > write (or use from someone else) that could be put maybe in the Application > file that might do what I need. >
Andy, your subject almost answers your question... Search the House of Fusion archives for "site-wide error handler" and you'll see literally hundreds of people's approaches to this problem. The Site Wide Error Handler line in the ColdFusion Administrator is where you need to define a "catch-all" template, but doing some research on it first will go a long way toward fine-tuning exactly what you want. Regards, Dave. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234441 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

