I want to be able to create a log when a cfc generates an error. I was thinking of including try catch blocks in all my udfs. Is this a good way of getting debugging information
That would give you the most control. In our production environment we have all errors emailed to the support group and just dump the error object <cfdump var="#CFCATCH#"> with SQL and other code (line numbers) that are involved.
How is performance affected by all these try catch blocks? I read that try catch blocks are very efficient in coldfusion ( so I assume it has negligable impact on performance)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.