throw error (#199653)

This commit is contained in:
Sandeep Somavarapu 2023-11-30 12:58:41 +01:00 committed by GitHub
parent 3cd0a63551
commit 5a7b7be28a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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> {