Add warning to validity override
This commit is contained in:
parent
ed3d18abfa
commit
5567061c19
2
bot.js
2
bot.js
@ -248,7 +248,7 @@ async function init() {
|
|||||||
await timer(500)
|
await timer(500)
|
||||||
try {
|
try {
|
||||||
if (config.errorhandling.validity_override === "TRUE") {
|
if (config.errorhandling.validity_override === "TRUE") {
|
||||||
consoleLog('[bot.init] Config validity override switch enabled, will not check for validity')
|
consoleLog('[bot.init] [WARNING] Config validity override switch enabled, will not check for validity. This may have unintended side-effects, if you run in to issues with this enabled, you are on your own.')
|
||||||
}
|
}
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
consoleLog('[bot.init] Checking config validity')
|
consoleLog('[bot.init] Checking config validity')
|
||||||
|
Loading…
Reference in New Issue
Block a user