Skip to content

Commit

Permalink
Merge pull request #57 from ImageMarkup/track-sentry-pyinstaller
Browse files Browse the repository at this point in the history
Track whether the pyinstaller build is being used in sentry
  • Loading branch information
danlamanna authored Aug 14, 2023
2 parents 36dba50 + 69ca654 commit c7c5f61
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions isic_cli/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ def main():

set_tag("platform", platform.system())
set_tag("isic-env", env)
# https://pyinstaller.org/en/stable/runtime-information.html#run-time-information
set_tag("pyinstaller", getattr(sys, "frozen", False) and hasattr(sys, "_MEIPASS"))

set_context("operating system", {"name": platform.platform()})
set_context("user", {"id": user})

Expand Down

0 comments on commit c7c5f61

Please sign in to comment.