mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 12:46:49 +00:00
feat: Trace why remotes get health marked
This commit is contained in:
1 parent
213bf6fb70
commit
e1866df682
3 files changed
+11
-2
No files matched your search
@@ -187,6 +187,7 @@ impl super::Service {
|
||||
.await,
|
||||
| Err(error) => {
|
||||
if error.is_connect() {
|
||||
debug_info!("{dest} is unhealthy due to a connect error");
|
||||
self.hit_unhealthy(dest.to_owned());
|
||||
}
|
||||
Err(handle_error(actual, &method, &url, error).expect_err("always returns error"))
|
||||
|
||||
Reference in new issue
Block a user