feat: adjust clash log

This commit is contained in:
GyDi
2022-11-18 22:08:06 +08:00
parent bcc5ec897a
commit f425fbaf9d
4 changed files with 88 additions and 13 deletions

View File

@@ -98,10 +98,11 @@ pub async fn check_service() -> Result<JsonResponse> {
.build()?
.get(url)
.send()
.await?
.await
.context("failed to connect to the Clash Verge Service")?
.json::<JsonResponse>()
.await
.context("failed to connect to the Clash Verge Service")?;
.context("failed to parse the Clash Verge Service response")?;
Ok(response)
}