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:
parent
4166f8e695
commit
c9369e3c08
5
main.py
5
main.py
|
@ -17,9 +17,8 @@ from settings import DEV_SERVER_PID_FILE_NAME, MODE
|
||||||
import_module('resolvers')
|
import_module('resolvers')
|
||||||
schema = make_executable_schema(load_schema_from_path('schema/'), resolvers)
|
schema = make_executable_schema(load_schema_from_path('schema/'), resolvers)
|
||||||
|
|
||||||
# Initialize GlitchTip SDK with DSN from environment variable
|
# Initialize GlitchTip SDK with DSN
|
||||||
GLITCHTIP_DSN = os.getenv('GLITCHTIP_DSN')
|
sentry_sdk.init("https://e8b4aabe17db4a7bbf703304cda33892@glitchtip.discours.io/1")
|
||||||
sentry_sdk.init(GLITCHTIP_DSN)
|
|
||||||
|
|
||||||
async def start():
|
async def start():
|
||||||
if MODE == 'development':
|
if MODE == 'development':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user