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

chore: Improve Sentry SDK initialization and logging #157

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

hareshkainthdbt
Copy link
Contributor

Details

This pull request enhances the Sentry SDK initialization process by optimizing the setup and improving logging configurations. Key changes include:

  • Checking SENTRY_DSN once at the beginning for a cleaner approach.
  • Adding an info-level log message when Sentry is disabled.
  • Explicitly adding Sentry to loggers for better observability.

This commit updates the Sentry SDK setup to use a cleaner and more explicit approach by checking `SENTRY_DSN` once at the beginning. It also adds an info-level log message when Sentry is disabled and improves logging configuration by explicitly adding Sentry to loggers, ensuring better observability.
@hareshkainthdbt hareshkainthdbt merged commit 490231c into main Jan 13, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant