diff --git a/lib/events.js b/lib/events.js index ff1648d6aa13e7..e59ff3f04dd93b 100644 --- a/lib/events.js +++ b/lib/events.js @@ -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.