aboutsummaryrefslogtreecommitdiff
path: root/src/qt/networkstyle.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-09-25 20:02:14 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-09-25 20:05:03 +0200
commit42f6aed731874d937d6f8c9f9c9a6b64d59852d8 (patch)
treee024a6811b3e3bac7c4524adc5a220fb65266474 /src/qt/networkstyle.h
parent37871f216e0d9463f456b8b014b80cc064011351 (diff)
tests: Add exception error message for JSONRPCException
This improves error reporting if `JSONRPCException` is not specifically caught and ends up in Python's default backtrace handler. Before: ``` Traceback (most recent call last): File "/.../projects/bitcoin/bitcoin/qa/rpc-tests/test_framework/authproxy.py", line 153, in __call__ raise JSONRPCException(response['error']) test_framework.authproxy.JSONRPCException ``` After: ``` Traceback (most recent call last): File "/.../projects/bitcoin/bitcoin/qa/rpc-tests/test_framework/authproxy.py", line 152, in __call__ raise JSONRPCException(response['error']) test_framework.authproxy.JSONRPCException: Unknown named parameter random (-8) ```
Diffstat (limited to 'src/qt/networkstyle.h')
0 files changed, 0 insertions, 0 deletions