squirrel-labs / ratatosk

Rask is a platformer game built with WASM and Rust
https://rask.rocks
MIT License
15 stars 1 forks source link

Wasm code panics on fetching ressource #87

Closed TrueDoctor closed 4 years ago

TrueDoctor commented 4 years ago

Describe the bug Wasm fails to convert bytearray to png, if the main thread was unable to fetch the file (404)

To Reproduce Delete ressource in the res folder

Expected behavior Wasm shows error message and tries again/exits gracefully

Screenshots image

TrueDoctor commented 4 years ago

wrong error cause see #88 for resolution