Better Readme + delayed setting.json warning.

This commit is contained in:
2022-03-05 11:47:07 +01:00
parent 5e5c8c7766
commit daf4d74a39
2 changed files with 25 additions and 3 deletions

View File

@@ -21,7 +21,8 @@ try {
settings = require('../settings.json');
}
catch (e) {
log.warn('dl', 'settings.json not found');
new Promise(resolve => setTimeout(resolve, 500))
.then(() => log.warn('dl', 'settings.json not found, ignore if using Docker'));
}
/**