diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index ddf54d8..395a0b5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -222,6 +222,7 @@ fn upload_log(file: &Path) -> Result<String> { .query(&[("json", 1)]) .multipart(form) .send()? + .error_for_status()? .json()?; Ok(resp.permalink) } |