summaryrefslogtreecommitdiffstats
path: root/utils/jsonutils
Commit message (Collapse)AuthorAgeFilesLines
* MM-10232, MM-10259: Improve error handling from invalid json (#8668)Jesse Hallam2018-04-262-0/+293
* MM-10232: improve error handling from malformed slash command responses Switch to json.Unmarshal, which doesn't obscure JSON parse failures like json.Decode. The latter is primarily designed for streams of JSON, not necessarily unmarshalling just a single object. * rework HumanizedJsonError to expose Line and Character discretely * MM-10259: pinpoint line and character where json config error occurs * tweak HumanizeJsonError to accept err first