Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

🔧(backend) fix sentry deprecated scope

lebaudantoinedbfba564c5d8
diff --git a/src/backend/meet/settings.py b/src/backend/meet/settings.py
index 71ed9f8e..a1a21fd1 100755
--- a/src/backend/meet/settings.py
+++ b/src/backend/meet/settings.py
@@ -503,9 +503,10 @@ class Base(Configuration):
release=get_release(),
integrations=[DjangoIntegration()],
)
- with sentry_sdk.configure_scope() as scope:
- scope.set_extra("application", "backend")
+ # Add the application name to the Sentry scope
+ scope = sentry_sdk.get_global_scope()
+ scope.set_tag("application", "backend")
class Build(Base):
"""Settings used when the application is built.