forked from LBRYCommunity/lbry-sdk
lbrycrd print text response
This commit is contained in:
parent
87f1d5b0ae
commit
85db7d3ce7
1 changed files with 1 additions and 0 deletions
|
@ -248,6 +248,7 @@ class Lbrycrd:
|
||||||
"params": params or []
|
"params": params or []
|
||||||
}
|
}
|
||||||
async with self.session.post(self.rpc_url, json=message) as resp:
|
async with self.session.post(self.rpc_url, json=message) as resp:
|
||||||
|
print(await resp.text())
|
||||||
if resp.status == 401:
|
if resp.status == 401:
|
||||||
raise LbrycrdUnauthorizedError()
|
raise LbrycrdUnauthorizedError()
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue