From 66e3e8ad7da19b04648d7526052fd18130053b3e Mon Sep 17 00:00:00 2001 From: Tim <13688718+Mahsaap@users.noreply.github.com> Date: Wed, 13 Nov 2024 13:55:21 -0400 Subject: [PATCH] fix string for HttpRequestException --- TwitchLib.Api.Core/HttpCallHandlers/TwitchHttpClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TwitchLib.Api.Core/HttpCallHandlers/TwitchHttpClient.cs b/TwitchLib.Api.Core/HttpCallHandlers/TwitchHttpClient.cs index 655c7f0c..c53f79ae 100644 --- a/TwitchLib.Api.Core/HttpCallHandlers/TwitchHttpClient.cs +++ b/TwitchLib.Api.Core/HttpCallHandlers/TwitchHttpClient.cs @@ -149,7 +149,7 @@ private async Task HandleWebException(HttpResponseMessage errorResp) case HttpStatusCode.Forbidden: throw new BadTokenException($"{deserializedError.Error} - {deserializedError.Message}", errorResp); default: - throw new HttpRequestException($"Something went wrong during the request! Please try again later \n {deserializedError.Message}"); + throw new HttpRequestException($"{deserializedError.Error} - {deserializedError.Message}"); } } }