qa: Silence socket.timeout exception when substituting it for a JSONRPCException

This prevents "During handling of the above exception, another exception occurred:" and an extra traceback.
This commit is contained in:
Hodlinator
2026-06-04 10:22:22 +02:00
parent 659671ac3d
commit f42226d526

View File

@@ -169,7 +169,7 @@ class AuthServiceProxy():
'message': '%r RPC took longer than %f seconds. Consider '
'using larger timeout for calls that take '
'longer to return.' % (self._service_name,
self.__conn.timeout)})
self.__conn.timeout)}) from None
if http_response is None:
raise JSONRPCException({
'code': -342, 'message': 'missing HTTP response from server'})