From 206b4fd7aa6e81809b823720eb50d04a6bfb6538 Mon Sep 17 00:00:00 2001 From: Mieszko Date: Thu, 24 Mar 2022 22:57:54 +0100 Subject: [PATCH] fix: reactivate sentry --- requirements.txt | 2 +- src/plugin.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 1fe7ce1d..579a1756 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ galaxy.plugin.api==0.65 -sentry-sdk==0.13.1 +sentry-sdk==1.5.8 psutil==5.6.6 toml==0.10.0 toga==0.3.0.dev15 \ No newline at end of file diff --git a/src/plugin.py b/src/plugin.py index 87498685..23b07e31 100644 --- a/src/plugin.py +++ b/src/plugin.py @@ -51,7 +51,8 @@ def setup_sentry(): event_level=logging.ERROR ) sentry_sdk.init( - dsn="https://76abb44bffbe45998dd304898327b718@sentry.io/1764525", + dns="https://40919944b74b4cc49bf94c482f013533@o284798.ingest.sentry.io/3976593", + traces_sample_rate=0.1, integrations=[sentry_logging], release=f"hb-galaxy@{__version__}" )