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>
This commit is contained in:
parent
39a027224e
commit
57c5c7d429
@ -160,7 +160,7 @@ EventEmitter.prototype.emit = function emit(type, ...args) {
|
|||||||
value: enhanceStackTrace.bind(null, er, capture),
|
value: enhanceStackTrace.bind(null, er, capture),
|
||||||
configurable: true
|
configurable: true
|
||||||
});
|
});
|
||||||
} catch (e) {}
|
} catch {}
|
||||||
|
|
||||||
// Note: The comments on the `throw` lines are intentional, they show
|
// Note: The comments on the `throw` lines are intentional, they show
|
||||||
// up in Node's output if this results in an unhandled exception.
|
// up in Node's output if this results in an unhandled exception.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user