Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Bugs with Sentry configuration #398

Merged
merged 2 commits into from
Jan 5, 2024
Merged

Fix: Bugs with Sentry configuration #398

merged 2 commits into from
Jan 5, 2024

Conversation

thekaveman
Copy link
Member

Fixes a bug with Sentry trying to derive the release from git metadata using subprocess calls. Instead, use the app's __version__ directly, which is similarly derived via setuptools_scm (#376, #382).

Also, call the Sentry configuration later, after logging is setup -- so that log statements from the Sentry configuration work.

now that the app version is derived from git metadata
so that sentry status update log messages send correctly
@thekaveman thekaveman requested a review from a team as a code owner January 5, 2024 21:39
@thekaveman thekaveman added the bug Something isn't working label Jan 5, 2024
Copy link

github-actions bot commented Jan 5, 2024

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  eligibility_server
  app.py
  sentry.py 18
Project Total  

This report was generated by python-coverage-comment-action

@thekaveman thekaveman merged commit 2b2f5b8 into dev Jan 5, 2024
7 checks passed
@thekaveman thekaveman deleted the fix/sentry branch January 5, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants