electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 5faa0ade3d7dff1ce1d93145d5f09fccfeea383e
parent 712c3f1248cf1002e733dc72134c10e6d7c5c510
Author: ThomasV <thomasv@electrum.org>
Date:   Fri,  6 Sep 2019 08:06:26 +0200

ignore exceptions in payserver

Diffstat:
Melectrum/daemon.py | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/electrum/daemon.py b/electrum/daemon.py @@ -44,6 +44,7 @@ from jsonrpcclient.clients.aiohttp_client import AiohttpClient from .network import Network from .util import (json_decode, to_bytes, to_string, profiler, standardize_path, constant_time_compare) from .util import PR_PAID, PR_EXPIRED, get_request_status +from .util import log_exceptions, ignore_exceptions from .wallet import Wallet, Abstract_Wallet from .storage import WalletStorage from .commands import known_commands, Commands @@ -184,6 +185,8 @@ class HttpServer(Logger): if status == PR_PAID: await self.pending[key].set() + @ignore_exceptions + @log_exceptions async def run(self): host = self.config.get('payserver_host', 'localhost') port = self.config.get('payserver_port')