Skip to content

Conversation

@ChillerDragon
Copy link
Member

problem is that the logger depends on config vars for post logs dir
and config var loading depends on logger for error logging

add a set -u to witness the error

@ChillerDragon ChillerDragon marked this pull request as draft November 21, 2024 02:25
@ChillerDragon
Copy link
Member Author

here the logger uses a config

if [ "$CFG_POST_LOGS_DIR" == "" ]

but the settings file that loads the config variables also needs error logging
ideally it would be able to post errors to the web in case of config errors

err "ERROR: tem settings file not found"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants