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>
pull/24079/head
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
1 changed files with 1 additions and 1 deletions

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.