From 9006884af89044cceda9b00aeb35ae1904135c40 Mon Sep 17 00:00:00 2001 From: Teffen Ellis Date: Sun, 3 Oct 2021 18:42:27 -0400 Subject: [PATCH] Fix issue where marketplace is undefined. - Fix error logging from child process. --- src/node/main.ts | 4 ++-- vendor/package.json | 2 +- vendor/yarn.lock | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/node/main.ts b/src/node/main.ts index ae68406fe..582cf8165 100644 --- a/src/node/main.ts +++ b/src/node/main.ts @@ -22,8 +22,8 @@ export const runVsCodeCli = async (args: DefaultedArgs): Promise => { try { await cliProcessMain(args) - } catch (error) { - logger.error("Got error from VS Code", field("error", error)) + } catch (error: any) { + logger.error("Got error from VS Code", error) } process.exit(0) diff --git a/vendor/package.json b/vendor/package.json index 8ee38fb7d..1460cfe12 100644 --- a/vendor/package.json +++ b/vendor/package.json @@ -7,6 +7,6 @@ "postinstall": "./postinstall.sh" }, "devDependencies": { - "code-oss-dev": "cdr/vscode#ac74ac1220ad3016159c65ed5d6581ab88ab43be" + "code-oss-dev": "cdr/vscode#65b2462c212d415fbf521489307e58e5b691818b" } } diff --git a/vendor/yarn.lock b/vendor/yarn.lock index 3328963c2..a0be75225 100644 --- a/vendor/yarn.lock +++ b/vendor/yarn.lock @@ -296,9 +296,9 @@ clone-response@^1.0.2: dependencies: mimic-response "^1.0.0" -code-oss-dev@cdr/vscode#ac74ac1220ad3016159c65ed5d6581ab88ab43be: +code-oss-dev@cdr/vscode#65b2462c212d415fbf521489307e58e5b691818b: version "1.60.2" - resolved "https://codeload.github.com/cdr/vscode/tar.gz/ac74ac1220ad3016159c65ed5d6581ab88ab43be" + resolved "https://codeload.github.com/cdr/vscode/tar.gz/65b2462c212d415fbf521489307e58e5b691818b" dependencies: "@microsoft/applicationinsights-web" "^2.6.4" "@vscode/sqlite3" "4.0.12"