From 3e425c40c01eaecc6513cccaf6fe06d741241fde Mon Sep 17 00:00:00 2001 From: Joonas Koivunen Date: Thu, 27 Jul 2023 15:40:53 +0300 Subject: [PATCH] fix(compute_ctl): remove stray variable in error message (#4823) error is not needed because anyhow will have the cause chain reported anyways. related to test_neon_cli_basics being flaky, but doesn't actually fix any flakyness, just the obvious stray `{e}`. --- control_plane/src/endpoint.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/control_plane/src/endpoint.rs b/control_plane/src/endpoint.rs index 6df6e47f29..8b5c88bf01 100644 --- a/control_plane/src/endpoint.rs +++ b/control_plane/src/endpoint.rs @@ -564,9 +564,7 @@ impl Endpoint { } Err(e) => { if attempt == MAX_ATTEMPTS { - return Err(e).context( - "timed out waiting to connect to compute_ctl HTTP; last error: {e}", - ); + return Err(e).context("timed out waiting to connect to compute_ctl HTTP"); } } }