Warn when Koanf read fails #47

Merged
Elara6331 merged 3 commits from Hunman/itd:error-handling into master 2023-01-02 09:05:24 +00:00

3 Commits

Author SHA1 Message Date
Hunman 7e4c916f0e Replacing format strings with magic
ci/woodpecker/pr/woodpecker Pipeline was successful Details
2023-01-02 10:00:23 +01:00
Hunman a254762288 Load the configs in one function, which handles the error too
ci/woodpecker/pr/woodpecker Pipeline was successful Details
We are doing the same thing to global and user level config, so it makes
sense to do it in a separate function
Loaded in the fmt package, so we can print out everything in one useful
error (actually warning) message
2022-12-30 00:23:31 +01:00
Hunman 82bb145cbc Move the global config path into a variable 2022-12-30 00:17:38 +01:00