forked from LedFx/LedFx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing sentry config, remove sentry from gitignore
- Loading branch information
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,6 @@ keypack.pyu | |
.pyupdater/ | ||
pyu-data/ | ||
# Sentry Data | ||
ledfx/sentry_config.py | ||
formatting_test.bat | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}", | ||
) |