mirror of https://github.com/nodejs/node.git
events: remove unused catch bindings
PR-URL: https://github.com/nodejs/node/pull/24079 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Wyatt Preul <wpreul@gmail.com>pull/24079/head
parent
39a027224e
commit
57c5c7d429
|
@ -160,7 +160,7 @@ EventEmitter.prototype.emit = function emit(type, ...args) {
|
|||
value: enhanceStackTrace.bind(null, er, capture),
|
||||
configurable: true
|
||||
});
|
||||
} catch (e) {}
|
||||
} catch {}
|
||||
|
||||
// Note: The comments on the `throw` lines are intentional, they show
|
||||
// up in Node's output if this results in an unhandled exception.
|
||||
|
|
Loading…
Reference in New Issue