Prevent showing password in error logs (#121)

This commit is contained in:
Otto Winter 2021-10-14 11:25:51 +02:00 committed by GitHub
parent 79b4649f74
commit 07d16dc1ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -390,7 +390,7 @@ class APIConnection:
await asyncio.wait_for(fut, timeout)
except asyncio.TimeoutError as err:
raise TimeoutAPIError(
f"Timeout waiting for response for {send_msg}"
f"Timeout waiting for response for {type(send_msg)}"
) from err
finally:
with suppress(ValueError):