aboutsummaryrefslogtreecommitdiffstats
path: root/bot/utils
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2021-12-29 13:35:10 +0000
committerGravatar Chris Lovering <[email protected]>2021-12-29 13:50:32 +0000
commit0c043c825482578e4a940ce2a8f0d4b5a952fe29 (patch)
treead07a6a449a322165d7246699908256c2df7a047 /bot/utils
parentAdd logging to AoC role task to help debugging issues (diff)
Raise error when bot can't modify the given role in member helper util
Diffstat (limited to 'bot/utils')
-rw-r--r--bot/utils/members.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/utils/members.py b/bot/utils/members.py
index 9c8c8dd8..de5850ca 100644
--- a/bot/utils/members.py
+++ b/bot/utils/members.py
@@ -39,7 +39,7 @@ async def handle_role_change(
except discord.NotFound:
log.debug(f"Failed to change role for {member} ({member.id}): member not found")
except discord.Forbidden:
- log.debug(
+ log.error(
f"Forbidden to change role for {member} ({member.id}); "
f"possibly due to role hierarchy"
)