test: remove unused "e" from catch in http2 test

PR-URL: https://github.com/nodejs/node/pull/23476
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Shelley Vohr <codebytere@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
Stephen Heitman 2018-10-12 09:51:28 -07:00 committed by Anna Henningsen
parent 20fb64c3dd
commit ff3c56c792
No known key found for this signature in database
GPG Key ID: 9C63F3A6CD2AD8F9

View File

@ -25,7 +25,7 @@ server.on('stream', (stream) => {
// Get first known bad file descriptor.
try {
while (fs.fstatSync(++fd));
} catch (e) {
} catch {
// do nothing; we now have an invalid fd
}