Skip to content

Commit 0af498c

Browse files
committed
Properly handle animation upload error
1 parent 18adfd6 commit 0af498c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/upload.rs

+2
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ pub async fn upload_animation(
208208
.body(contents)
209209
.send()
210210
.await
211+
.context("Failed to send animation upload request")?
212+
.error_for_status()
211213
.context("Failed to upload animation")?;
212214

213215
let body = response

0 commit comments

Comments
 (0)