diff --git a/lib/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.ts b/lib/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.ts index 6d71a818..0fcefe30 100644 --- a/lib/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.ts +++ b/lib/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.ts @@ -406,6 +406,9 @@ export class BrowserKeyboardMapperFactoryBase { // } // return null; + }).catch(() => { + // NOTE@coder: It looks like the intention was to catch this error but + // a try/catch won't do it when using promises without `await`. }); } catch { // getLayoutMap can throw if invoked from a nested browsing context