From c22cb87311b5eb1a3bf5600d18733f7485355dc0 Mon Sep 17 00:00:00 2001 From: Tyler Leonhardt Date: Fri, 22 Apr 2022 18:18:53 -0700 Subject: [PATCH] include this.logService.error in a place. ref #147760 --- src/vs/workbench/api/browser/mainThreadSecretState.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vs/workbench/api/browser/mainThreadSecretState.ts b/src/vs/workbench/api/browser/mainThreadSecretState.ts index 539315d7c0828..acd6e3db0c1cb 100644 --- a/src/vs/workbench/api/browser/mainThreadSecretState.ts +++ b/src/vs/workbench/api/browser/mainThreadSecretState.ts @@ -65,7 +65,8 @@ export class MainThreadSecretState extends Disposable implements MainThreadSecre if (value.extensionId === extensionId) { return value.content; } - } catch (_) { + } catch (e) { + this.logService.error(e); throw new Error('Cannot get password'); } }