8000
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 685724b commit 5ecfc7cCopy full SHA for 5ecfc7c
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