Panic when log filters are incorrectly configured #13850
Labels
A-Diagnostics
Logging, crash handling, error reporting and performance analysis
C-Bug
An unexpected or incorrect behavior
C-Usability
A simple quality-of-life change that makes Bevy easier to use
D-Trivial
Nice and easy! A great choice to get started with Bevy
S-Ready-For-Implementation
This issue is ready for an implementation PR. Go for it!
Bevy version
0.14.0-rc.2
, but this seems like a very old thingWhat you did
Made a typo while configuring LogPlugin:
What went wrong
Encountered a panic on an unwrap in Bevy here: https://github.com/bevyengine/bevy/blob/main/crates/bevy_log/src/lib.rs#L170
Additional information
This is an error on the user's part and I'm not sure that we need to handle the error gracefully, but the error message presented to the user could be much more helpful.
The text was updated successfully, but these errors were encountered: