Web Service with tRestRequest don't log exceptions
I developed a web service with Talend Open Studio for ESB 7.2.1 and deploy it in Runtime_ESBSE and everything works, but when the job throws an unexpected exception, it does not register it in the log. I already have configured Stast & Logs in my project and my job, and this configuration works with other jobs that are not web services rest, in fact when the exception is thrown before the web service is deployed, it is registered.
Additionally, if I use a Log Catcher component, the exception is captured but not registered in the Log & Stats files.
I show you an dummy example of a Web service that throws a premeditated Exception:
When I call the web service using postman, I see the exception in console, but the exception in not in the DB nither the file