Closed cornwarecjp closed 9 years ago
@cornwarecjp take a look at #22 , which also is a proposal of getting complete error messages.
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.
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.