From 77ef4970f6c9bbbd8f08fd578b7a43913622dca1 Mon Sep 17 00:00:00 2001 From: Denny Scott Date: Fri, 12 Oct 2018 09:33:37 -0700 Subject: [PATCH] test: remove unused e variable in catch statement PR-URL: https://github.com/nodejs/node/pull/23465 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Gireesh Punathil Reviewed-By: Sakthipriyan Vairamani --- test/parallel/test-domain-with-abort-on-uncaught-exception.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);