mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 14:40:19 +00:00
2364a305c0
# Objective When a global tracing subscriber has already been set, `LogPlugin` panics with an error message explaining this. However, if a global logger has already been set, it simply panics on an unwrap. #6426 mentiones the panic and has been fixed by unique plugins, but the panic can still occur if a logger has been set through different means or multiple apps are created, as in #4934. The solution to that specific case isn't clear; this PR only fixes the missing error message. ## Solution - ~add error message to panic~ - turn into warning |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |