From 787697f76f1feff719f24f06ea97f4c5f12de011 Mon Sep 17 00:00:00 2001 From: Phil Phauler <128394598+philphauler@users.noreply.github.com> Date: Sun, 6 Sep 2026 14:02:36 +0200 Subject: [PATCH] runtime: fix misleading signal driver panic message (#8419) Co-authored-by: philphauler --- tokio/src/runtime/driver.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/runtime/driver.rs b/tokio/src/runtime/driver.rs index 35bfe0262..b2acb7bc5 100644 --- a/tokio/src/runtime/driver.rs +++ b/tokio/src/runtime/driver.rs @@ -100,7 +100,7 @@ impl Handle { pub(crate) fn signal(&self) -> &crate::runtime::signal::Handle { self.signal .as_ref() - .expect("there is no signal driver running, must be called from the context of Tokio runtime") + .expect("A Tokio 1.x context was found, but IO is disabled. Call `enable_io` on the runtime builder to enable IO.") } }