mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
tests - print main process pid when killing fails
This commit is contained in:
@@ -87,7 +87,7 @@ async function runTestsInBrowser(browserType: BrowserType, endpoint: url.UrlWith
|
||||
try {
|
||||
await promisify(kill)(server.pid!);
|
||||
} catch (error) {
|
||||
console.error(`Error when killing server process tree: ${error}`);
|
||||
console.error(`Error when killing server process tree (pid: ${server.pid}): ${error}`);
|
||||
}
|
||||
|
||||
process.exit(code);
|
||||
|
||||
Reference in New Issue
Block a user