Skip to content

Commit

Permalink
Catch more specific exception
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhathcock committed Jan 8, 2025
1 parent 99188ba commit 93a6447
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ query User {
}
""";
GraphQLRequest request = new(query: QUERY);
await Assert.ThrowsAsync<JsonException>(
await Assert.ThrowsAsync<JsonReaderException>(
async () => await _sut.ExecuteGraphQLRequest<int>(request).ConfigureAwait(false)
);
}
Expand Down

0 comments on commit 93a6447

Please sign in to comment.