cloud-gov / cf-service-proxy

Create a proxy for Cloud Foundry service instances.
Other
1 stars 6 forks source link

Added some debug info on failures #12

Closed yozlet closed 8 years ago

yozlet commented 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.