I seem to be having some issues with the errorHandling in my app.
My handlers extend a base handler which contains an onError method. Any errors which occur in the handlers "should" get trapped by that method and then returned back to the user as formatted JSON. I purposely forced an error in a handler and it appears that the onError method is NOT firing because CB just sends back the default exception page. When I look at the output the exception page does indicate the error that I forced. What I can't figure out though is why the onError function in my base handler is not firing.
Thanks for your emails. Digging into it more I determined that onError was firing, however within that method the order of execution was bubbling another issue. I have reworked how my baseHandler works and it is executing as expected. Thanks all.