Do not throw exception when channel name is "error"
This commit is contained in:
parent
99ec841a8e
commit
751ee53683
1 changed files with 3 additions and 0 deletions
|
@ -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', () => {})
|
||||
|
|
Loading…
Reference in a new issue