Add aiohttp sentry integration

This commit is contained in:
Jake Howard 2019-02-22 22:31:25 +00:00
parent 99bff461e7
commit 7f8173717c
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -3,6 +3,7 @@ from multiprocessing import Process
import sentry_sdk
from aiohttp.web import run_app as run_web_app
from sentry_sdk.integrations.aiohttp import AioHttpIntegration
from actioner.scheduler import create_scheduler, start_scheduler
from actioner.settings import LOGGING_LEVEL, SENTRY_DSN
@ -14,6 +15,7 @@ def main():
sentry_sdk.init(
dsn=SENTRY_DSN,
integrations=[AioHttpIntegration()]
)
server = get_server()