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.