mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
tests: fix not exiting if tests rejected with undefined
Fixes https://github.com/microsoft/vscode-test/issues/119
This commit is contained in:
@@ -614,8 +614,8 @@ export abstract class AbstractExtHostExtensionService extends Disposable impleme
|
||||
.then(() => {
|
||||
resolve(0);
|
||||
})
|
||||
.catch((err: Error) => {
|
||||
reject(err.toString());
|
||||
.catch((err: unknown) => {
|
||||
reject(err instanceof Error && err.stack ? err.stack : String(err));
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user