Login for more options
Exceptions in REST Services doesn't trigger Application.cfc's onError or Site-wide Error Handler
When exceptions occur in ColdFusion 10's new REST Services, the standard exception handling mechanisms don't work.
Steps to Reproduce:
Throw an excaption in CF 10's REST end point.
Application.cfc's onError and Site-wide Error Handler don't get triggered.
Application.cfc's onError gets called.
Only time wasting painful workarounds. Some solutions proposed here, but not ideal:
My Hardware and Environment details:
Windows 2008 / Windows 7
|Platform(s)||Win 2008 Server R2 64 bit|
|Found In Build||Final|
|Fixed In Build||CF10_Update14|
8:40:59 AM GMT+00:00 Sep 15, 2014
Why still no fix for this? This is a huge issue. And despite claims this was fixed in CF10, it does not appear to be the case. It's still broken in CF11.
12:58:07 AM GMT+00:00 Jun 19, 2013
Should be fixed.
2:32:29 PM GMT+00:00 May 6, 2013
This is urgent. We're left without proper REST Services exceptions built-in handling.
11:44:36 AM GMT+00:00 Apr 1, 2013
I need to handle errors in a central location when using the REST service. Without onError, I must do something that is not very elegant.
11:01:27 AM GMT+00:00 Feb 26, 2013
this is horrible, pls fix