Commit 010ef76 1 parent a40692b commit 010ef76 Copy full SHA for 010ef76
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ export class Chromedriver extends events.EventEmitter {
406
406
407
407
if ( this . disableBuildCheck ) {
408
408
if ( _ . isEmpty ( cds ) ) {
409
- this . log . errorAndThrow (
409
+ throw this . log . errorWithException (
410
410
`There must be at least one Chromedriver executable available for use if ` +
411
411
`'chromedriverDisableBuildCheck' capability is set to 'true'` ,
412
412
) ;
@@ -425,7 +425,7 @@ export class Chromedriver extends events.EventEmitter {
425
425
if ( ! chromeVersion ) {
426
426
// unable to get the chrome version
427
427
if ( _ . isEmpty ( cds ) ) {
428
- this . log . errorAndThrow (
428
+ throw this . log . errorWithException (
429
429
`There must be at least one Chromedriver executable available for use if ` +
430
430
`the current Chrome version cannot be determined` ,
431
431
) ;
@@ -716,7 +716,7 @@ export class Chromedriver extends events.EventEmitter {
716
716
}
717
717
718
718
message += err . message ;
719
- this . log . errorAndThrow ( message ) ;
719
+ throw this . log . errorWithException ( message ) ;
720
720
}
721
721
}
722
722
You can’t perform that action at this time.
0 commit comments