mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Do not throw exception when channel name is "error"
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
const EventEmitter = require('events').EventEmitter
|
||||
|
||||
module.exports = new EventEmitter()
|
||||
|
||||
// Do not throw exception when channel name is "error".
|
||||
module.exports.on('error', () => {})
|
||||
|
||||
Reference in New Issue
Block a user