URI: 
       tinterface: if request times out, no need to dump trace - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 64ab8222f77cd0c271da128154dabddf6fddb9ba
   DIR parent 819044221b5e8090d36de5c5f9d5245f49c2988e
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Thu, 13 Sep 2018 20:17:58 +0200
       
       interface: if request times out, no need to dump trace
       
       Diffstat:
         M electrum/interface.py               |       9 ++++++---
       
       1 file changed, 6 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/electrum/interface.py b/electrum/interface.py
       t@@ -72,9 +72,12 @@ class NotificationSession(ClientSession):
                    timeout = 20 if not self.proxy else 30
                # note: the semaphore implementation guarantees no starvation
                async with self.in_flight_requests_semaphore:
       -            return await asyncio.wait_for(
       -                super().send_request(*args, **kwargs),
       -                timeout)
       +            try:
       +                return await asyncio.wait_for(
       +                    super().send_request(*args, **kwargs),
       +                    timeout)
       +            except asyncio.TimeoutError as e:
       +                raise GracefulDisconnect('request timed out: {}'.format(args)) from e
        
            async def subscribe(self, method, params, queue):
                # note: until the cache is written for the first time,