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:
parent
20fb64c3dd
commit
ff3c56c792
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user