From 4fa968de35ffef237feb574a8483793f6246058f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Leh=C3=B3czky?= Date: Tue, 25 Feb 2025 10:01:59 +0100 Subject: [PATCH] Fixing exception message Co-authored-by: Szabolcs Deme <80963259+DemeSzabolcs@users.noreply.github.com> --- Lombiq.Tests.UI/Helpers/CloudflareHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lombiq.Tests.UI/Helpers/CloudflareHelper.cs b/Lombiq.Tests.UI/Helpers/CloudflareHelper.cs index 87baa9187..91626d914 100644 --- a/Lombiq.Tests.UI/Helpers/CloudflareHelper.cs +++ b/Lombiq.Tests.UI/Helpers/CloudflareHelper.cs @@ -203,7 +203,7 @@ private static void ThrowIfNotSuccess((bool IsSuccess, Exception InnerException) throw new IOException( $"The Cloudflare IP Access Rule for allowing requests from this runner {messagePart}. There might be a " + - $"leftover rule for the IP range {currentIp} that needs to be deleted manually." + + $"leftover rule for the IP range {currentIpRange} that needs to be deleted manually." + (result.InnerException is ApiException ex ? $" Response: {ex.Content}" : string.Empty), result.InnerException); }