diff options
| author | 2020-10-17 00:08:15 +0200 | |
|---|---|---|
| committer | 2020-10-17 00:08:15 +0200 | |
| commit | 54fb16322e49dfa60bc496ed696fefe6e69b9b9e (patch) | |
| tree | 9b37a7a51c6e4dc5decf433465be29659215592e | |
| parent | Verification: simplify kick note reason (diff) | |
Verification: avoid logging whole kick note payload
Only the `member` is variable, no need to log the rest.
Co-authored-by: Numerlor <[email protected]>
| -rw-r--r-- | bot/exts/moderation/verification.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/verification.py b/bot/exts/moderation/verification.py index c8e5b481f..f50ceaffd 100644 --- a/bot/exts/moderation/verification.py +++ b/bot/exts/moderation/verification.py @@ -372,7 +372,7 @@ class Verification(Cog): "user": member.id, } - log.trace(f"Posting kick note: {payload!r}") + log.trace(f"Posting kick note for member {member} ({member.id})") try: await self.bot.api_client.post("bot/infractions", json=payload) except ResponseCodeError as api_exc: |