mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-04 20:07:32 +08:00
parent
fb4032d6ce
commit
c5989d2735
@ -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