changed log.debug to log.log in app.js (#3362)

where logLevel is not set because config is not loaded at this time, see
#3353
This commit is contained in:
Karsten Hassel 2024-01-18 19:18:58 +01:00 committed by GitHub
parent b005a8f30e
commit c09338ab80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -27,6 +27,7 @@ _This release is scheduled to be released on 2024-04-01._
- [newsfeed] Always compute the feed item URL using the same helper function (#3336)
- Ignore all custom css files (#3359)
- [newsfeed] Fix newsfeed stall issue introduced by #3336 (#3361)
- Changed `log.debug` to `log.log` in `app.js` where logLevel is not set because config is not loaded at this time (#3353)
### Deleted

View File

@ -76,7 +76,7 @@ function App () {
fs.accessSync(templateFile, fs.F_OK);
} catch (err) {
templateFile = null;
Log.debug("config template file not exists, no envsubst");
Log.log("config template file not exists, no envsubst");
}
if (templateFile) {
@ -97,7 +97,7 @@ function App () {
envFiles.push(configEnvFile);
}
} catch (err) {
Log.debug(`${configEnvFile} does not exist. ${err.message}`);
Log.log(`${configEnvFile} does not exist. ${err.message}`);
}
let options = {