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 2018-11-04 10:00:36 -05:00
parent 39a027224e
commit 57c5c7d429
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5

View File

@ -160,7 +160,7 @@ EventEmitter.prototype.emit = function emit(type, ...args) {
value: enhanceStackTrace.bind(null, er, capture), value: enhanceStackTrace.bind(null, er, capture),
configurable: true configurable: true
}); });
} catch (e) {} } catch {}
// Note: The comments on the `throw` lines are intentional, they show // Note: The comments on the `throw` lines are intentional, they show
// up in Node's output if this results in an unhandled exception. // up in Node's output if this results in an unhandled exception.