mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 09:22:55 +00:00
Test logging
This commit is contained in:
@@ -134,7 +134,9 @@ impl Api {
|
||||
let start = Instant::now();
|
||||
let response = self.endpoint.execute(request).await?;
|
||||
info!(duration = ?start.elapsed(), "received http response");
|
||||
info!(response = ?response, "this is response");
|
||||
let body = parse_body::<WakeCompute>(response).await?;
|
||||
info!(body = ?body, "parsed response body");
|
||||
|
||||
// Unfortunately, ownership won't let us use `Option::ok_or` here.
|
||||
let (host, port) = match parse_host_port(&body.address) {
|
||||
|
||||
Reference in New Issue
Block a user