From 72138755aea467c401306896454a538279ce09fb Mon Sep 17 00:00:00 2001 From: Carlos Alejandro Gutierrez Sandoval Date: Sat, 28 Sep 2024 16:33:15 -0600 Subject: [PATCH] fix error message --- src/connectors/multiplexor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connectors/multiplexor.rs b/src/connectors/multiplexor.rs index 29bde49..314b84e 100644 --- a/src/connectors/multiplexor.rs +++ b/src/connectors/multiplexor.rs @@ -56,7 +56,7 @@ where let f = async move { H::build(provider, s.as_slice(), sender) .await - .expect("Building underlying handle for {s} failed.") + .expect(format!("Building underlying handle for {s:?} failed.").as_str()) }; handles.push(tokio::task::spawn_local(f));