Hello,
I am using onError
in my application.cfc to handle errors i.e. email me basic details and redirect user to a custom error page. From my observations, the error information is not captured by FusionReactor in Requests> Error History. I guess this is normal behavior as I capture the error with onError
.
What is the best way to deal with errors in a Lucee web application while benefiting from the tools of FusionReactor? Should I eliminate onError
in application.cfc and instead use a template in the Error section of Lucee server admin?
I explore the different possibilities and the Error section of Lucee does not allow to make a redirection in case of error. It is apparently only possible to display the content of the template where the error occurs.
I would like to offer a full custom page in case of error. I am looking on the side of IIS.
Any advice is welcome.
Thank you.