Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

chore: Remove ineffective Sentry initialization #442

Merged
merged 1 commit into from
Jun 23, 2023

Conversation

cdata
Copy link
Collaborator

@cdata cdata commented Jun 23, 2023

This rolls back part of #437 . The result of Sentry initialization has to outlive the inner lifetime of whatever process it's observing, so it's better to conceptualize it as initialized outside of the initialize_tracing helper. Meanwhile, sentry_tracing::layer() can just exist as part of the subscriber with or without an initialized Sentry.

Also, uplifted the sentry-tracing dep to the workspace level.

@cdata cdata merged commit 129d60b into main Jun 23, 2023
@cdata cdata deleted the chore/remove-ineffective-sentry-initialization branch June 23, 2023 23:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants