aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/error_handler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/error_handler.py b/bot/cogs/error_handler.py
index 8261633ee..589448b9a 100644
--- a/bot/cogs/error_handler.py
+++ b/bot/cogs/error_handler.py
@@ -15,7 +15,7 @@ from discord.ext.commands import (
UserInputError,
)
from discord.ext.commands import Cog, Context
-from sentry_sdk import configure_scope
+from sentry_sdk import push_scope
from bot.api import ResponseCodeError
from bot.bot import Bot
@@ -149,7 +149,7 @@ class ErrorHandler(Cog):
f"```{e.__class__.__name__}: {e}```"
)
- with configure_scope() as scope:
+ with push_scope() as scope:
scope.user = {
"id": ctx.author.id,
"username": str(ctx.author)