From eea8c9fef5d26e2983781360213f1274f4ecb7bc Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Fri, 17 Nov 2023 12:34:58 -0500 Subject: [PATCH] Improved logging --- main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/main.js b/main.js index 3a53bcf..1fe96d8 100644 --- a/main.js +++ b/main.js @@ -54,6 +54,7 @@ fn.commands.refreshConfig().then(res => { function main(gpio) { // Set the Igniter + if (process.env.DEBUG) console.log(`[${(Date.now() - config.timestamps.procStart)/1000}] I: IGN: [${config.status.igniter}] | EXH: [${config.status.exhaust}] | AUG: [${config.status.auger}]`); switch (config.status.igniter) { case 0: fn.igniter.off(gpio);