From 140f47c80181056d574df60f09412fb5a00725aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cramfox=E2=80=9D?= <“kasey@n0.computer”> Date: Sun, 1 Dec 2024 23:08:10 -0500 Subject: [PATCH] fix `relay_supervisor` --- iroh-relay/src/server.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/iroh-relay/src/server.rs b/iroh-relay/src/server.rs index a6f7098aee..49f60da462 100644 --- a/iroh-relay/src/server.rs +++ b/iroh-relay/src/server.rs @@ -493,6 +493,7 @@ async fn relay_supervisor( ret = tasks.join_next(), if tasks.len() > 0 => ret.expect("checked"), ret = &mut quic_fut, if quic_enabled => ret.map(anyhow::Ok), ret = &mut relay_fut, if relay_enabled => ret.map(anyhow::Ok), + else => Ok(Err(anyhow!("No relay services are enabled."))), }; let ret = match res { Ok(Ok(())) => {