Skip to content

Commit eaae0e6

Browse files
committed
Fix Logs.GetLog(string)
1 parent fff58e4 commit eaae0e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/webdriver/Logs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public ReadOnlyCollection<LogEntry> GetLog(string logKind)
9494
{
9595
foreach (object rawEntry in responseValue)
9696
{
97-
Dictionary<string, object> entryDictionary = (Dictionary<string, object>)rawEntry;
97+
Dictionary<string, object>? entryDictionary = rawEntry as Dictionary<string, object>;
9898
if (entryDictionary != null)
9999
{
100100
entries.Add(LogEntry.FromDictionary(entryDictionary));

0 commit comments

Comments
 (0)