Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(otel): prevent panic in shutdown
Shutdown panics when passed a background context, or any context which doesn't contain a hub. Returning the current hub if no hub is found on the context prevents this.
- Loading branch information