Skip to content

Commit

Permalink
events: remove unused catch bindings
Browse files Browse the repository at this point in the history
PR-URL: #24079
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Wyatt Preul <wpreul@gmail.com>
  • Loading branch information
cjihrig authored and MylesBorins committed Dec 3, 2018
1 parent dedf0e5 commit e2b96da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e2b96da

Please sign in to comment.