mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 15:01:57 +01:00
throw error (#199653)
This commit is contained in:
committed by
GitHub
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> {
|
||||
|
||||
Reference in New Issue
Block a user