mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-13 00:54:53 +01:00
Currently, if the node replies to any command with an error during the test framework's setup(), we log the generic and not really useful "Unexpected exception" from the BaseException catch, with no further information. This isn't helpful for diagnosing the issue. Fix it by explicitly handling JSONRPCException and logging the response error message and http status code.