RE: [coldbox:8309] Main.onException

It’s worth noting you can high-jack the bug template from happening if you setNextEvent() in your onException handler but watch out-- you might get in a loop of endless redirects if you send the user to another page that is also erroring. We use a completely static callCustomerService.cfm page that requires no database or ColdBox to render just to be safe.

Also, if you choose to redirect in your exception handler, you’ll need to manually log the error since you are taking over control of the error process.



Thanks guys.

Makes sense.