tinterface: add comment - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit e1c1a9d6a2bb2020329040a72666ff42346e3678 (DIR) parent 3b445d7248d2e8aca25e045557685eeb9e9328c8 (HTM) Author: SomberNight <somber.night@protonmail.com> Date: Sat, 25 May 2019 05:20:21 +0200 interface: add comment Diffstat: M electrum/interface.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- (DIR) diff --git a/electrum/interface.py b/electrum/interface.py t@@ -107,6 +107,8 @@ class NotificationSession(RPCSession): msg_id = next(self._msg_counter) self.maybe_log(f"<-- {args} {kwargs} (id: {msg_id})") try: + # note: RPCSession.send_request raises TaskTimeout in case of a timeout. + # TaskTimeout is a subclass of CancelledError, which is *suppressed* in TaskGroups response = await asyncio.wait_for( super().send_request(*args, **kwargs), timeout)