mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-12-22 19:21:08 +00:00
remove logging on non 202 and 200 statuses
This commit is contained in:
parent
7f0a1a4e08
commit
e6845136eb
|
@ -134,9 +134,6 @@ class HttpClient:
|
|||
data = await resp.text()
|
||||
|
||||
if resp.status not in (200, 202):
|
||||
logging.verbose('Received error when requesting %s: %i', url, resp.status)
|
||||
logging.debug(data)
|
||||
|
||||
try:
|
||||
error = json.loads(data)["error"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue