From 21c10b3bfd78d32c8d5d6608f1cd3fbf56af5b22 Mon Sep 17 00:00:00 2001 From: Allan Clements Date: Thu, 18 Apr 2024 08:47:44 -0500 Subject: [PATCH] Include GermlinError::Generic's contained string in thisserror's message --- gremlin-client/src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gremlin-client/src/error.rs b/gremlin-client/src/error.rs index 068676d6..a803075b 100644 --- a/gremlin-client/src/error.rs +++ b/gremlin-client/src/error.rs @@ -8,7 +8,7 @@ use mobc; #[allow(clippy::large_enum_variant)] #[derive(Debug, Error)] pub enum GremlinError { - #[error("data store disconnected")] + #[error("data store disconnected: {0}")] Generic(String), #[error(transparent)]