Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Novice
Description
In the case of serialization failures, createRestException swallows the exception and logs the inputstream object itself:
This does not tend to produce an error message, as the response is essentially always something like "ByteArrayInputStream@{hashcode}". Perhaps it could try to return the raw contents if it is short and json?