mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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:
1 parent
dedf0e5cde
commit
e2b96da6ba
1 file changed
+1
-1
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user