From 8f0ec19a6fbab099fecf94feb043b77ecda2fbcb Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Fri, 27 Nov 2015 09:00:32 +0100 Subject: [PATCH] don't scare people #693 --- src/vs/workbench/node/pluginHostProcess.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/node/pluginHostProcess.ts b/src/vs/workbench/node/pluginHostProcess.ts index 15af96acb6e..03b9c9bd746 100644 --- a/src/vs/workbench/node/pluginHostProcess.ts +++ b/src/vs/workbench/node/pluginHostProcess.ts @@ -36,7 +36,7 @@ function connectToRenderer(): TPromise { process.on('unhandledRejection', function(reason, promise) { // 'promise' seems to be undefined all the time and // that's why we cannot use the rejectionhandled event - console.error('potentially unhandled rejected promise', promise); + console.warn('potentially unhandled rejected promise', promise); onUnexpectedError(reason); });