> Is there anyway to catch coldfusion programming errors? > > <cfoutput>#999sdflkjsdf;lk#</cfoutput> is caught by my error handler. > > But <cfoutput>#alsdk;fjlkj#</cfoutpu > is not.
As Brian pointed out, the first one is a runtime exception, and the second is a compiler error. Runtime exceptions can be caught using the onError event handler in Application.cfc or using CFTRY/CFCATCH. Compiler errors can be caught using the site-wide error handler or the CFERROR tag using TYPE="REQUEST". That said, you should not need to catch compiler errors. Those should never make it past the first stage of development, much less into production. A compiler error will prevent the page from ever running successfully - if you have one, it means you've never tried to run the page before! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342038 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

