-
Type: Task
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.8.0-HF04, 5.9.2
-
Component/s: Automation
Since NXP-11403, ClientException are mapped to HTTP 400 in ExceptionHandler, therefore not logged by default server-side by the Jersey container in ContainerResponse#onException:
if (!mapped && r.getStatus() >= 500) { logException(e, r, Level.SEVERE); } else if (LOGGER.isLoggable(Level.FINE)) { logException(e, r, Level.FINE); }
In most of the cases, Nuxeo API will throw a ClientException that should be logged by the server, so let's map ClientException to HTTP 500.
- depends on
-
NXP-11403 org.nuxeo.ecm.automation.OperationException should not be mapped to HTTP 500
- Resolved