Closed yozlet closed 8 years ago
The calls to jq will fail if the curl calls return something other than JSON, and then it's a pain to debug. This PR tests the exit status of those jq calls, and if they've failed then it prints the original unparsed curl output.
jq
curl
The calls to
jq
will fail if thecurl
calls return something other than JSON, and then it's a pain to debug. This PR tests the exit status of thosejq
calls, and if they've failed then it prints the original unparsedcurl
output.