Skip to content

Commit

Permalink
Changed a logging level
Browse files Browse the repository at this point in the history
- Changed the log for when the big brother cog doesn't load in the `apply_ban()` method doesn't properly load from a trace to an error.
  • Loading branch information
MrHemlock authored Mar 20, 2020
1 parent 90d9ffc commit c432bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/cogs/moderation/infractions.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ async def apply_ban(self, ctx: Context, user: UserSnowflake, reason: str, **kwar

bb_cog = self.bot.get_cog("Big Brother")
if not bb_cog:
log.trace(f"Big Brother cog not loaded; perma-banned user {user} won't be unwatched.")
log.error(f"Big Brother cog not loaded; perma-banned user {user} won't be unwatched.")
return

log.trace(f"Big Brother cog loaded; attempting to unwatch perma-banned user {user}.")
Expand Down

0 comments on commit c432bf9

Please sign in to comment.