From 9f3186701f30dd0e8642c7b117be3067eb6a45f7 Mon Sep 17 00:00:00 2001 From: dinglili Date: Thu, 1 Aug 2024 17:23:48 +0800 Subject: [PATCH] =?UTF-8?q?fixed:=20=E8=A7=A3=E5=86=B3=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E8=B7=B3=E8=BF=87=E9=97=AA=E9=80=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I476c1a8bf6b65aed2d314b41e7898d2fd58fd0f7 --- src/vs/code/electron-main/app.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/vs/code/electron-main/app.ts b/src/vs/code/electron-main/app.ts index f55132b2..9ead9a85 100644 --- a/src/vs/code/electron-main/app.ts +++ b/src/vs/code/electron-main/app.ts @@ -1375,8 +1375,9 @@ export class CodeApplication extends Disposable { await new Promise((resolve, reject) => { DeployMainService.openDeployWindow().then(() => { resolve(void 0); - }).catch(() => { - reject(-1); + }).catch((error) => { + console.log(error); + resolve(-1); }) }); }