Skip to content

Commit 751ee53

Browse files
committed
Do not throw exception when channel name is "error"
1 parent 99ec841 commit 751ee53

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/browser/api/ipc-main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
const EventEmitter = require('events').EventEmitter
22

33
module.exports = new EventEmitter()
4+
5+
// Do not throw exception when channel name is "error".
6+
module.exports.on('error', () => {})

0 commit comments

Comments
 (0)