Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(subscriber): ignore metadata that is not a span or event (#554)
As described in #553, there are parts of code that expects tracing `Metadata` to be of type `EVENT` or `SPAN`. This PR ensure that any tracing metadata with a different type will be ignored instead of panicking when running in debug mode when converting from `tracing_core::Metadata`: https://github.com/tokio-rs/console/blob/60bcf87537d414b21efbd84159207f9ecda5e914/console-api/src/common.rs#L48
- Loading branch information