Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide more information when a filewatcher failure is hit. (#13715)
A naked unwrap led to an opaque error that can be hit when using the embedded filewatcher. I've changed this an unwrap_or_else panic! with the error message providing more details about the failed operation. A better solution would be to print an error! and not panic... This was tested with the asset_processing example. --------- Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
- Loading branch information