conformal/btcjson — pull request #30 by tuxcanfly (2014-09-15 20:47:46+00:00)
Title: don't unmarshall http error response

e.g 429 Too many requests is parsed and a cryptic error message is shown:

rpcCommand: error reading json message: error unmarshalling json reply: invalid character 'T' after top-level value

instead, don't parse unless the response code indicates success