Details
-
Improvement
-
Status: Resolved
-
Medium
-
Resolution: Done
-
None
Description
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 "
}
]
}
}
Attachments
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 97249,6 | Pretty-print error messages | master | netconf | Status: MERGED | +2 | +1 |