JSON parser errors are swallowed in gitlabnet.ParseJSON
Broken out of #499 (closed)
See https://gitlab.com/gitlab-org/gitlab-shell/-/blob/main/internal/gitlabnet/client.go#L32
If the server we're talking to starts returning invalid JSON, it would be very useful to have that information in the logs; however, we wouldn't generally want to show it to the end-user. Ordinarily, we'd just place a logging statement before returning from this function, but since it's part of the exported "client" package, that's not really safe.
Edited by Sean Carroll