We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c23b95b commit 7a79429Copy full SHA for 7a79429
javascript/node/selenium-webdriver/common/seleniumManager.js
@@ -76,12 +76,12 @@ function driverLocation(browser) {
76
result = execSync(args.join(' ')).toString()
77
} catch (e) {
78
throw new Error(
79
- `Error executing command with ${args} : Error ${e.stderr.toString()}`
+ `Error executing command with ${args}\n${e.stdout.toString()}${e.stderr.toString()}`
80
)
81
}
82
83
if (!result.startsWith('INFO\t')) {
84
- throw new Error(`Unsuccessful command executed ${args}}`)
+ throw new Error(`Unsuccessful command executed: ${args}\n${result}`)
85
86
87
return result.replace('INFO\t', '').trim()
0 commit comments