We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99ec841 commit 751ee53Copy full SHA for 751ee53
lib/browser/api/ipc-main.js
@@ -1,3 +1,6 @@
1
const EventEmitter = require('events').EventEmitter
2
3
module.exports = new EventEmitter()
4
+
5
+// Do not throw exception when channel name is "error".
6
+module.exports.on('error', () => {})
0 commit comments