Skip to content

Commit

Permalink
Fix RestException
Browse files Browse the repository at this point in the history
  • Loading branch information
KubaZ2 committed Aug 31, 2024
1 parent b6aa052 commit a5fc12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NetCord/Rest/RestException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public RestException(HttpStatusCode statusCode, string? reasonPhrase) : base(Get
public RestException(HttpStatusCode statusCode, string? reasonPhrase, RestError error) : base(GetMessage(statusCode, reasonPhrase, error.Message))
{
StatusCode = statusCode;
ReasonPhrase = reasonPhrase!;
ReasonPhrase = reasonPhrase;
Error = error;
}

Expand Down

0 comments on commit a5fc12f

Please sign in to comment.