diff --git a/test/parallel/test-domain-with-abort-on-uncaught-exception.js b/test/parallel/test-domain-with-abort-on-uncaught-exception.js index 03ab39dbfc05d2..0707f123b8c3a1 100644 --- a/test/parallel/test-domain-with-abort-on-uncaught-exception.js +++ b/test/parallel/test-domain-with-abort-on-uncaught-exception.js @@ -50,7 +50,7 @@ if (process.argv[2] === 'child') { if (process.argv.includes('useTryCatch')) { try { throw new Error(domainErrHandlerExMessage); - } catch (e) { + } catch { } } else { throw new Error(domainErrHandlerExMessage);