Skip to content

Commit 95cdabe

Browse files
committed
Fix error log message to clarify JSON write failure cause
Updated the log message in RestResponseExceptionHandler to specify that the JSON write failure is due to the path being smaller than 3. This improves clarity and debugging efficiency when analyzing error logs.
1 parent aa4fd40 commit 95cdabe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

application-engine/src/main/java/com/netgrif/application/engine/workflow/web/RestResponseExceptionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected ResponseEntity<Object> handleHttpMessageNotWritable(HttpMessageNotWrit
6060
jme.getOriginalMessage(), jme.getPathReference(), describePath(path), jme);
6161
}
6262
} else {
63-
log.error("JSON write failed: {} | path={} | details={}",
63+
log.error("JSON write failed because of path is smaller than 3: {} | path={} | details={}",
6464
jme.getOriginalMessage(), jme.getPathReference(), describePath(path), jme);
6565
}
6666

0 commit comments

Comments
 (0)