From b314acf5b52a0f3092a907a42c619b1437b569eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Tue, 26 Mar 2019 18:57:49 +0100 Subject: [PATCH] PLase jshint --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 31db66d5..ed04bd30 100755 --- a/app.js +++ b/app.js @@ -228,7 +228,7 @@ function getGCTypeValue (type) { return value; } -addHandlers(listener, logger, 45000); +addHandlers(listener, global.logger, 45000); function addHandlers(listener, logger, killTimeout) { process.on('uncaughtException', exitProcess(listener, logger, killTimeout)); @@ -255,7 +255,7 @@ function exitProcess (listener, logger, killTimeout) { } logger.info(`Process is going to exit with code: ${code}`); - listener.close(() => log4js.shutdown(() => process.exit(1))); + listener.close(() => global.log4js.shutdown(() => process.exit(1))); }; }