Skip to content

Commit

Permalink
add sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleGoogle committed Jul 27, 2019
1 parent 3920858 commit f2794c1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
3 changes: 2 additions & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
psutil==5.6.3
pylint==2.3.1
pylint==2.3.1
sentry-sdk==0.10.2
7 changes: 7 additions & 0 deletions src/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
import re
import webbrowser

import sentry_sdk

from galaxy.api.plugin import Plugin, create_and_run_plugin
from galaxy.api.consts import Platform
from galaxy.api.types import Authentication, NextStep
Expand All @@ -19,6 +21,11 @@
from humbledownloader import HumbleDownloadResolver


sentry_sdk.init(
"https://5b8ef07071c74c0a949169c1a8d41d1c@sentry.io/1514964",
release=f"galaxy-integration-humblebundle@{__version__}"
)

AUTH_PARAMS = {
"window_title": "Login to HumbleBundle",
"window_width": 560,
Expand Down
2 changes: 1 addition & 1 deletion src/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.0"
__version__ = "0.2.1"

0 comments on commit f2794c1

Please sign in to comment.