jgarzik/python-bitcoinrpc — pull request #40 by cornwarecjp (2014-11-16 22:25:21+00:00)
Title: Generate a more informative exception string; this is useful for debugging applications.

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.