diff --git a/keyserver/addons/rust-node-addon/src/identity_client/mod.rs b/keyserver/addons/rust-node-addon/src/identity_client/mod.rs --- a/keyserver/addons/rust-node-addon/src/identity_client/mod.rs +++ b/keyserver/addons/rust-node-addon/src/identity_client/mod.rs @@ -96,10 +96,10 @@ DEVICE_TYPE.to_string(), ) .await - .map_err(|_| { + .map_err(|e| { Error::new( Status::GenericFailure, - "Unable to connect to identity service".to_string(), + format!("Unable to connect to identity service: {}", e), ) }) } @@ -120,10 +120,10 @@ DEVICE_TYPE.to_string(), ) .await - .map_err(|_| { + .map_err(|e| { Error::new( Status::GenericFailure, - "Unable to connect to identity service".to_string(), + format!("Unable to connect to identity service: {}", e), ) }) }