feat: simple glitchtip setup, without all
All checks were successful
Deploy on push / deploy (push) Successful in 22s
All checks were successful
Deploy on push / deploy (push) Successful in 22s
This commit is contained in:
5
main.py
5
main.py
@@ -17,9 +17,8 @@ from settings import DEV_SERVER_PID_FILE_NAME, MODE
|
||||
import_module('resolvers')
|
||||
schema = make_executable_schema(load_schema_from_path('schema/'), resolvers)
|
||||
|
||||
# Initialize GlitchTip SDK with DSN from environment variable
|
||||
GLITCHTIP_DSN = os.getenv('GLITCHTIP_DSN')
|
||||
sentry_sdk.init(GLITCHTIP_DSN)
|
||||
# Initialize GlitchTip SDK with DSN
|
||||
sentry_sdk.init("https://e8b4aabe17db4a7bbf703304cda33892@glitchtip.discours.io/1")
|
||||
|
||||
async def start():
|
||||
if MODE == 'development':
|
||||
|
Reference in New Issue
Block a user