I have a web service that I am adding error handling to log
and notify me of anything that I haven't already caught with
specific cftry/catches. I put an onError function in my
application.cfc. When I test my error handling by calling the .cfc
as a component from a .cfm template, it works great. The onError
logs the error and sends me an email.
When I test using a .Net app and call the .cfc as a web
service, something besides my onError seems to catch the error. It
[coldfusion.runtime.UndefinedVariableException : Variable apple is
undefined.]" (My test is trying to add 1 to apple (which is not
Whatever this mysterious handler is correctly identifies the
error. But, it is not calling my routines to log and email me.
Anyone have a clue how to catch errors in web services???