提交 966bc2b0 编写于 作者: B Benjamin Pasero

easy on unhandledRejection for now

上级 0d3e7523
......@@ -176,7 +176,6 @@ function registerListeners(enableDeveloperTools) {
}
process.on('uncaughtException', function (error) { onError(error, enableDeveloperTools); });
process.on('unhandledRejection', function (reason) { onError(reason, enableDeveloperTools); });
process.on('SIGPIPE', function () { onError(new Error('Unexpected SIGPIPE'), false); }); // workaround https://github.com/electron/electron/issues/13254
return function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册