Skip to content

Commit 0af498c

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

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/upload.rs

Lines changed: 2 additions & 0 deletions
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)