Coldfusion Error catching (cftry cfcatch) best practice question...
Hey all -
I wanted to get a couple of opinions about this. Obviously I want to catch any and all errors that hit my server and avoid exposures to my end users, but I didnt know what the most efficient way of doing such was. Does it make sense to put a cftry cfcatch around the entirety of my code on every page? (I use a lot of embeds...cfinclude) Or is that too broad? How does that effect performance? Is there another way to auto catch and email all errors and then show the user a custom error page? I searched around, but I got bits and pieces based on specific requests...not really any "best practice" tips. Any suggestions would be fantastic.
Thanks much!
