Skip to content

Commit

Permalink
fix string for HttpRequestException
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahsaap authored Nov 13, 2024
1 parent 5687121 commit 66e3e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TwitchLib.Api.Core/HttpCallHandlers/TwitchHttpClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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}");
}
}
}
Expand Down

0 comments on commit 66e3e8a

Please sign in to comment.