mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:53:44 +08:00
parent
e8ff6c785a
commit
82e76bc58e
@ -27,7 +27,9 @@ pub async fn put_configs(path: &str) -> Result<()> {
|
|||||||
match response.status().as_u16() {
|
match response.status().as_u16() {
|
||||||
204 => Ok(()),
|
204 => Ok(()),
|
||||||
status => {
|
status => {
|
||||||
bail!("failed to put configs with status \"{status}\"")
|
let body = response.text().await?;
|
||||||
|
// print!("failed to put configs with status \"{}\"\n{}\n{}", status, url, body);
|
||||||
|
bail!("failed to put configs with status \"{status}\"\n{url}\n{body}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user