mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 00:53:45 +08:00
parent
e8ff6c785a
commit
82e76bc58e
@ -27,7 +27,9 @@ pub async fn put_configs(path: &str) -> Result<()> {
|
||||
match response.status().as_u16() {
|
||||
204 => Ok(()),
|
||||
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