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:
cjihrig authored and Myles Borins committed 2018-12-03 13:33:01 -05:00
1 parent dedf0e5cde
commit e2b96da6ba
1 file changed
+1 -1
+1 -1
View File
@@ -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.