test: remove unused e variable in catch statement
PR-URL: https://github.com/nodejs/node/pull/23465 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
This commit is contained in:
parent
1c73990a7d
commit
8691d8f542
@ -50,7 +50,7 @@ if (process.argv[2] === 'child') {
|
|||||||
if (process.argv.includes('useTryCatch')) {
|
if (process.argv.includes('useTryCatch')) {
|
||||||
try {
|
try {
|
||||||
throw new Error(domainErrHandlerExMessage);
|
throw new Error(domainErrHandlerExMessage);
|
||||||
} catch (e) {
|
} catch {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
throw new Error(domainErrHandlerExMessage);
|
throw new Error(domainErrHandlerExMessage);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user