don't scare people #693

This commit is contained in:
Johannes Rieken
2015-11-27 09:00:32 +01:00
parent 59990425dd
commit 8f0ec19a6f

View File

@@ -36,7 +36,7 @@ function connectToRenderer(): TPromise<IRendererConnection> {
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);
});