Skip to content

Commit e737d4c

Browse files
committed
Even more
1 parent cddd586 commit e737d4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/webdriver/BiDi/Communication/Json/Internal/JsonExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ internal static class JsonExtensions
2828
Utf8JsonReader readerClone = reader;
2929

3030
if (readerClone.TokenType != JsonTokenType.StartObject)
31-
throw new JsonException("Cannot determine the discriminator of json non-object token type.");
31+
throw new JsonException($"Cannot determine the discriminator of {readerClone.TokenType} token type while supported is {JsonTokenType.StartObject} only.");
3232

3333
string? discriminator = null;
3434

0 commit comments

Comments
 (0)