提交 8f0ec19a 编写于 作者: J Johannes Rieken

don't scare people #693

上级 59990425
......@@ -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);
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册