File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 ( ) ) ;
You can’t perform that action at this time.
0 commit comments