johanhelsing / bevy_web_asset

Bevy asset loader that transparently supports loading over http(s)
Apache License 2.0
71 stars 17 forks source link

fix: Don't panic on NetworkErrors on wasm #5

Closed johanhelsing closed 1 year ago

johanhelsing commented 1 year ago

Instead warn before reporting the asset as AssetIoError::NotFound, same as we do on native.

Ideally, we'd handle the actual errors, but this makes the two implementation behave similarly at least.

Fixes: #4