summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/main.py b/main.py
index e022f18..f8a87a2 100644
--- a/main.py
+++ b/main.py
@@ -237,6 +237,15 @@ class CompanySelector:
self.master.quit()
if __name__ == "__main__":
+ import sentry_sdk
+ sentry_sdk.init(
+ dsn="https://c5822e9079a54ef2b28d4e93a11ebc86@o126149.ingest.sentry.io/4505211315617792",
+
+ # Set traces_sample_rate to 1.0 to capture 100%
+ # of transactions for performance monitoring.
+ # We recommend adjusting this value in production.
+ traces_sample_rate=1.0
+ )
root = tk.Tk()
app = CompanySelector(root)
if os.name != "posix":