jgarzik / python-bitcoinrpc

Python interface to bitcoin's JSON-RPC API
GNU Lesser General Public License v2.1
644 stars 304 forks source link

Generate a more informative exception string; this is useful for debugging applications. #40

Closed cornwarecjp closed 9 years ago

cornwarecjp commented 9 years ago

Generate a more informative exception string; this is useful for debugging applications.

Security note: this opens up another path for external data (in rpc_error) to flow through the application. I think this is safe, assuming that the bitcoind process, and the connection to that process, are trusted. Typically, rpc_error is completely generated by bitcoind, not containing any information from external parties.

reiven commented 9 years ago

@cornwarecjp take a look at #22 , which also is a proposal of getting complete error messages.

cornwarecjp commented 9 years ago

I agree that this is a double of #22. You can consider this an up-vote for merging #22; since it's a double, this merge request should be closed/cancelled.