Skip to content

Commit 0e3e9d9

Browse files
authored
Fix: another possible error (#272)
1 parent 3988fc8 commit 0e3e9d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/discord-cluster-manager/cogs/admin_cog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ async def update_competition(
750750
entry["name"], new_lb["deadline"], task.description
751751
)
752752
)
753-
except discord.errors.NotFound:
753+
except (discord.errors.NotFound, discord.errors.HTTPException):
754754
logger.warning(
755755
"Could not find forum thread %s for lb %s", forum_id, entry["name"]
756756
)

0 commit comments

Comments
 (0)