From ba4cb0c6c7021f2196e2e2adbf1378d47b3056d0 Mon Sep 17 00:00:00 2001 From: janskiba Date: Fri, 15 Nov 2024 14:45:38 +0000 Subject: [PATCH] chore: print more context for connection error --- shared/src/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/src/errors.rs b/shared/src/errors.rs index 2fc2d29b..249b5abf 100644 --- a/shared/src/errors.rs +++ b/shared/src/errors.rs @@ -37,7 +37,7 @@ pub enum SamplyBeamError { ConfigurationFailed(String), #[error("Internal synchronization error: {0}")] InternalSynchronizationError(String), - #[error("Error executing HTTP request: {0}")] + #[error("Error executing HTTP request: {0:?}")] HttpRequestError(#[from] reqwest::Error), // #[error("Error building HTTP request: {0}")] // HttpRequestBuildError(#[from] http::Error),