Add warning to validity override

This commit is contained in:
hgw 2023-12-04 04:34:58 +00:00
parent ed3d18abfa
commit 5567061c19
Signed by: hgw
SSH Key Fingerprint: SHA256:diG7RVYHjd3aDYkZWHYcBJbImu+6zfptuUP+3k/wol4

2
bot.js
View File

@ -248,7 +248,7 @@ async function init() {
await timer(500)
try {
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) {
consoleLog('[bot.init] Checking config validity')