mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 17:32:41 +00:00
throw error (#199653)
This commit is contained in:
parent
3cd0a63551
commit
5a7b7be28a
|
@ -251,13 +251,7 @@ export class Code {
|
|||
}
|
||||
|
||||
async whenWorkbenchRestored(): Promise<void> {
|
||||
try {
|
||||
await this.poll(() => this.driver.whenWorkbenchRestored(), () => true, `when workbench restored`);
|
||||
} catch (error) {
|
||||
// TODO: @sandy081 Remove this when 1.84.0 is out
|
||||
// whenWorkbenchRestored was not implemented in the driver before 1.84.0
|
||||
this.logger.log('whenWorkbenchRestored() timed out');
|
||||
}
|
||||
await this.poll(() => this.driver.whenWorkbenchRestored(), () => true, `when workbench restored`);
|
||||
}
|
||||
|
||||
getLocaleInfo(): Promise<ILocaleInfo> {
|
||||
|
|
Loading…
Reference in a new issue