Initial stabilization #1
1 changed files with 1 additions and 1 deletions
fix: 200OK is not an error
commit
03a207d32a
|
|
@ -279,7 +279,7 @@ impl Client {
|
|||
.body_mut()
|
||||
.read_to_end(&mut body)
|
||||
.context("reading response body")?;
|
||||
if status == StatusCode::OK {
|
||||
if status != StatusCode::OK {
|
||||
bail!(
|
||||
"Failed downloading the cache (status {status}): {:?}",
|
||||
str::from_utf8(&body)
|
||||
|
|
|
|||
Loading…
Reference in a new issue