diff options
| author | 2021-03-13 16:20:47 +0200 | |
|---|---|---|
| committer | 2021-03-13 16:20:47 +0200 | |
| commit | 4b5af57b4ed4eac18bf3c368f99e848e10a33cab (patch) | |
| tree | e6888a2e9fc7a60f91c9b1ec5f728ba2b8431865 | |
| parent | Improve string building for long lines (diff) | |
Use log instead of erroneous self.log
| -rw-r--r-- | bot/exts/recruitment/talentpool/_review.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/recruitment/talentpool/_review.py b/bot/exts/recruitment/talentpool/_review.py index 56b51925e..b84499d98 100644 --- a/bot/exts/recruitment/talentpool/_review.py +++ b/bot/exts/recruitment/talentpool/_review.py @@ -276,7 +276,7 @@ class Reviewer: nomination = await self.bot.api_client.get(f"{self._pool.api_endpoint}/{nomination_id}") except ResponseCodeError as e: if e.response.status == 404: - self.log.trace(f"Nomination API 404: Can't find nomination with id {nomination_id}") + log.trace(f"Nomination API 404: Can't find nomination with id {nomination_id}") await ctx.send(f"❌ Can't find a nomination with id `{nomination_id}`") return None else: |