From 8081f13052da28679052604e1ee7541cf1826b4e Mon Sep 17 00:00:00 2001 From: Bogdan Date: Thu, 1 May 2025 12:12:42 +0300 Subject: [PATCH] Clean logging messages in AppriseProxy --- src/NzbDrone.Core/Notifications/Apprise/AppriseProxy.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Notifications/Apprise/AppriseProxy.cs b/src/NzbDrone.Core/Notifications/Apprise/AppriseProxy.cs index 64e1cb2da..cf85a6047 100644 --- a/src/NzbDrone.Core/Notifications/Apprise/AppriseProxy.cs +++ b/src/NzbDrone.Core/Notifications/Apprise/AppriseProxy.cs @@ -91,7 +91,7 @@ public ValidationFailure Test(AppriseSettings settings) { if (httpException.Response.StatusCode == HttpStatusCode.Unauthorized) { - _logger.Error(ex, $"HTTP Auth credentials are invalid: {0}", ex.Message); + _logger.Error(ex, "HTTP Auth credentials are invalid: {0}", ex.Message); return new ValidationFailure("AuthUsername", $"HTTP Auth credentials are invalid: {ex.Message}"); } @@ -99,7 +99,7 @@ public ValidationFailure Test(AppriseSettings settings) { var error = Json.Deserialize(httpException.Response.Content); - _logger.Error(ex, $"Unable to send test message. Response from API: {0}", error.Error); + _logger.Error(ex, "Unable to send test message. Response from API: {0}", error.Error); return new ValidationFailure(string.Empty, $"Unable to send test message. Response from API: {error.Error}"); }