Skip to content

Commit e1677cd

Browse files
committed
[dotnet] Revert System namespace prefix
1 parent 7785897 commit e1677cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dotnet/src/webdriver/Response.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,24 +158,24 @@ public static Response FromErrorJson(string value)
158158

159159
if (!deserializedResponse.TryGetValue("value", out var valueObject))
160160
{
161-
throw new WebDriverException($"The 'value' property was not found in the response:{System.Environment.NewLine}{value}");
161+
throw new WebDriverException($"The 'value' property was not found in the response:{Environment.NewLine}{value}");
162162
}
163163

164164
if (valueObject is not Dictionary<string, object> valueDictionary)
165165
{
166-
throw new WebDriverException($"The 'value' property is not a dictionary of <string, object>{System.Environment.NewLine}{value}");
166+
throw new WebDriverException($"The 'value' property is not a dictionary of <string, object>{Environment.NewLine}{value}");
167167
}
168168

169169
response.Value = valueDictionary;
170170

171171
if (!valueDictionary.TryGetValue("error", out var errorObject))
172172
{
173-
throw new WebDriverException($"The 'value > error' property was not found in the response:{System.Environment.NewLine}{value}");
173+
throw new WebDriverException($"The 'value > error' property was not found in the response:{Environment.NewLine}{value}");
174174
}
175175

176176
if (errorObject is not string)
177177
{
178-
throw new WebDriverException($"The 'value > error' property is not a string{System.Environment.NewLine}{value}");
178+
throw new WebDriverException($"The 'value > error' property is not a string{Environment.NewLine}{value}");
179179
}
180180

181181
response.Status = WebDriverError.ResultFromError(errorObject.ToString());

0 commit comments

Comments
 (0)