Skip to content

Commit 76a80dc

Browse files
committed
alter null check message
1 parent 7f60880 commit 76a80dc

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
@@ -36,7 +36,7 @@ public override double Read(ref Utf8JsonReader reader, Type typeToConvert, JsonS
3636
return d;
3737
}
3838

39-
var str = reader.GetString() ?? throw new JsonException("Cannot convert from null to remote number value");
39+
var str = reader.GetString() ?? throw new JsonException("Cannot convert from null to special number value");
4040

4141
if (str.Equals("-0", StringComparison.Ordinal))
4242
{

0 commit comments

Comments
 (0)