From 00d65b4ea306b4bdb7ec9562c646b3f1a4b73a0f Mon Sep 17 00:00:00 2001 From: Anna Khanova Date: Thu, 6 Jun 2024 14:23:26 +0200 Subject: [PATCH] Upd --- proxy/src/console/provider/neon.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/proxy/src/console/provider/neon.rs b/proxy/src/console/provider/neon.rs index 7d4f2fde78..d8f9b5526d 100644 --- a/proxy/src/console/provider/neon.rs +++ b/proxy/src/console/provider/neon.rs @@ -329,6 +329,12 @@ async fn parse_body serde::Deserialize<'a>>( return Ok(response.json().await?); } info!("response_error: {:?}", response); + let s: String = response.json().await?; + info!("response_error: {:?}", s); + return Err(ApiError::Console { + status, + text: s.into(), + }); // Don't throw an error here because it's not as important // as the fact that the request itself has failed.