Skip to content

Commit

Permalink
Add missing sentry config, remove sentry from gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
THATDONFC committed Jan 27, 2021
1 parent 27b9445 commit 5cecd4f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ keypack.pyu
.pyupdater/
pyu-data/
# Sentry Data
ledfx/sentry_config.py
formatting_test.bat


Expand Down
14 changes: 14 additions & 0 deletions ledfx/sentry_config.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This file is overwritten with organisational sentry data as part of the deployment process.
# You're welcome to plug your own sentry keys in if you're forking/doing development.

import sentry_sdk
from sentry_sdk.integrations.aiohttp import AioHttpIntegration

from ledfx.consts import PROJECT_VERSION

sentry_sdk.init(
"SENTRY-DSN",
traces_sample_rate=1,
integrations=[AioHttpIntegration()],
release=f"ledfx@{PROJECT_VERSION}",
)

0 comments on commit 5cecd4f

Please sign in to comment.