forked from LBRYCommunity/lbry-sdk
improve session close error message
This commit is contained in:
parent
39a4c4e590
commit
d6bcbd631f
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue