From 672038c6afb92b79cfc24e4bdf10cd0c216ea8ac 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 ae68406f..582cf816 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 8ee38fb7..1460cfe1 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 3328963c..a0be7522 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"