-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Sentry logging * Fix encoding * Fix encoding again * Fix encoding again
- Loading branch information
Showing
3 changed files
with
10 additions
and
3 deletions.
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 |
---|---|---|
|
@@ -2,3 +2,4 @@ requests | |
prompt_toolkit | ||
pypresence | ||
nest_asyncio | ||
sentry_sdk |
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
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
import json | ||
import os | ||
import sentry_sdk | ||
import sys | ||
|
||
import nest_asyncio | ||
|
@@ -15,6 +16,11 @@ | |
import menus | ||
from riitag import oauth2, user, watcher, presence, preferences | ||
|
||
sentry_sdk.init( | ||
"https://[email protected]/5450405", | ||
traces_sample_rate=1.0 | ||
) | ||
|
||
nest_asyncio.apply() | ||
|
||
# Get resource when frozen with PyInstaller | ||
|