Don't catch checkLogLevel

This commit is contained in:
Christopher Hoskin 2020-08-11 10:48:44 +01:00
parent 9b21292b44
commit 20f2e1eb1d

View file

@ -270,9 +270,7 @@ const Logger = (module.exports = {
return
}
// check for log level override on startup
this.checkLogLevel().catch((error) => {
console.log(error)
})
this.checkLogLevel()
// re-check log level every minute
this.checkInterval = setInterval(this.checkLogLevel.bind(this), 1000 * 60)
}