From 0de52088409474444345b8bd473abf6f98d26ae3 Mon Sep 17 00:00:00 2001 From: Harald Albers Date: Tue, 26 Nov 2024 22:20:02 +0100 Subject: [PATCH] Fix retry count in remote dev mode error message Signed-off-by: Harald Albers (cherry picked from commit 827dd96a6f7eaa5b1ce9a254243390d73528f3d5) --- .../vertx/http/deployment/devmode/HttpRemoteDevClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/vertx-http/deployment/src/main/java/io/quarkus/vertx/http/deployment/devmode/HttpRemoteDevClient.java b/extensions/vertx-http/deployment/src/main/java/io/quarkus/vertx/http/deployment/devmode/HttpRemoteDevClient.java index 4952bcfc2a9c8..ea6be6445c424 100644 --- a/extensions/vertx-http/deployment/src/main/java/io/quarkus/vertx/http/deployment/devmode/HttpRemoteDevClient.java +++ b/extensions/vertx-http/deployment/src/main/java/io/quarkus/vertx/http/deployment/devmode/HttpRemoteDevClient.java @@ -259,7 +259,7 @@ public void run() { errorCount++; log.error("Remote dev request failed", e); if (errorCount == retryMaxAttempts) { - log.error("Connection failed after 10 retries, exiting"); + log.errorf("Connection failed after %d retries, exiting", errorCount); return; } try {