This repository was archived by the owner on Apr 13, 2025. It is now read-only.
This repository was archived by the owner on Apr 13, 2025. It is now read-only.
Use of error in nodecg-io-core where warning is appropriate #365
Closed
Description
Description
nodecg-io-core
logs out an error when config is already deencrypted.
Fix change the log if it is a config already decrypted
error from error
to warning
How to reproduce
- Add to
cfg/nodecg-io-core.json
the config to auto login like described in the documentation. - Open
localhost:9090
, login and restart nodecg - Now the browser is faster to decrypt the config before
nodecg-io-core
can auto login,
therefore nodecg-io-core is logging an error.
error: [nodecg-io-core] Failed to automatically login: Config has already been decrypted and loaded.
References
nodecg-io/nodecg-io-core/extension/persistenceManager.ts
Lines 283 to 307 in 58b695a