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)