Skip to content

Commit

Permalink
Add test environment for Sentry
Browse files Browse the repository at this point in the history
Signed-off-by: John Strunk <john.strunk@gmail.com>
  • Loading branch information
JohnStrunk committed Jul 4, 2023
1 parent 69c85ff commit 298e997
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file modified testdata/testdata.mdb
Binary file not shown.
2 changes: 2 additions & 0 deletions wahoo_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ def initialize_sentry(model: Model) -> None:
execution_environment = "source"
if getattr(sys, "frozen", False) and hasattr(sys, "_MEIPASS"):
execution_environment = "executable"
if autotest.TESTING:
execution_environment = "test"

# Initialize Sentry crash reporting
sentry_sdk.init(
Expand Down

0 comments on commit 298e997

Please sign in to comment.