We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dedf0e5 commit e2b96daCopy full SHA for e2b96da
lib/events.js
@@ -160,7 +160,7 @@ EventEmitter.prototype.emit = function emit(type, ...args) {
160
value: enhanceStackTrace.bind(null, er, capture),
161
configurable: true
162
});
163
- } catch (e) {}
+ } catch {}
164
165
// Note: The comments on the `throw` lines are intentional, they show
166
// up in Node's output if this results in an unhandled exception.
0 commit comments