bevy_web_asset icon indicating copy to clipboard operation
bevy_web_asset copied to clipboard

Handle http error codes

Open johanhelsing opened this issue 2 years ago • 0 comments

Currently, if the response is a http error, we just blindly pass the payload on to the asset loader, which will most likely fail.

On certain http error codes it probably makes sense to retry, on others it probably makes sense to log a warning/error and return and AssetIoError.

Split from: #4 Related to: #6

johanhelsing avatar Sep 23 '22 08:09 johanhelsing