-
Improvement
-
Resolution: Done
-
Medium
-
None
When we are formatting out error reports we tack them into a single line, which renders them a bit user-unfriendly:
{"errors":{"error":[{"error-tag":"malformed-message","error-info":"Failed to lookup prefix ","error-message":"Error parsing json input: Failed to lookup prefix ","error-type":"protocol"}]}}
Update the implementation so that it looks something like this:
{ "errors" : { "error" : [ { "error-type" : "protocol", "error-tag" : "malformed-message", "error-info" : "Failed to lookup prefix ", "error-message" : "Error parsing json input: Failed to lookup prefix " } ] } }