diff --git a/svix-cli/src/relay/mod.rs b/svix-cli/src/relay/mod.rs index f07f1d891..4875443da 100644 --- a/svix-cli/src/relay/mod.rs +++ b/svix-cli/src/relay/mod.rs @@ -302,7 +302,7 @@ impl WsConnection { let request = websocket_url.to_string().into_client_request()?; let (stream, _resp) = connect_async(request) .await - .with_context(|| "failed to connect to websocket server")?; + .context("failed to connect to websocket server")?; Ok(Self { stream }) }