From e3046aa8affab7d003cced74c148eeb1fb2d86de Mon Sep 17 00:00:00 2001 From: Adam Lock Date: Mon, 20 Dec 2021 12:56:27 +0000 Subject: [PATCH] Fix an issue spotted after code landed where error not propagated due to missing ? --- client/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/client.rs b/client/src/client.rs index 2d22fb8d0..ca9e4d190 100644 --- a/client/src/client.rs +++ b/client/src/client.rs @@ -288,7 +288,7 @@ impl Client { session.connect_and_activate().map_err(|err| { error!("Got an error while creating the default session - {}", err); err - }); + })?; } Ok(session)