From d6bcbd631fc5b9456f3fd2238810ad03c1dbffad Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Fri, 11 Sep 2020 14:05:51 -0300 Subject: [PATCH] improve session close error message --- lbry/blockchain/lbrycrd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbry/blockchain/lbrycrd.py b/lbry/blockchain/lbrycrd.py index 31fc85e14..86dcda039 100644 --- a/lbry/blockchain/lbrycrd.py +++ b/lbry/blockchain/lbrycrd.py @@ -246,7 +246,7 @@ class Lbrycrd: async def rpc(self, method, params=None): if self.session.closed: - raise Exception("session is closed! We are shutting down.") + raise Exception("session is closed! RPC attempted during shutting down.") message = { "jsonrpc": "1.0", "id": "1",