Skip to content

Commit c19dfcd

Browse files
Update dotnet/src/webdriver/BiDi/Communication/Json/Converters/SpecialNumberConverter.cs
Co-authored-by: Nikolay Borisenko <[email protected]>
1 parent 9b76121 commit c19dfcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/webdriver/BiDi/Communication/Json/Converters/SpecialNumberConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public override double Read(ref Utf8JsonReader reader, Type typeToConvert, JsonS
5656
return double.NegativeInfinity;
5757
}
5858

59-
throw new JsonException("JSON string could not be parsed to a special number");
59+
throw new JsonException($"JSON '{str}' string could not be parsed to a special number");
6060

6161
default:
6262
throw new JsonException($"JSON type not a number or string: {reader.TokenType}");

0 commit comments

Comments
 (0)