fix: update log level for missing config file
- change error log to warning for better severity indication
- update default usage log to warning for consistency
🤖
This commit is contained in:
parent
57871afa68
commit
4a772db0f8
1 changed files with 2 additions and 2 deletions
|
@ -17,8 +17,8 @@ func ParseConfig(filename string) models.ConfigFile {
|
|||
}
|
||||
yamlFile, err := os.ReadFile(filename)
|
||||
if err != nil {
|
||||
log.Error("Error opening config file!", "reason", err)
|
||||
log.Info("Using defaults")
|
||||
log.Warn("Error opening config file!", "reason", err)
|
||||
log.Warn("Using defaults")
|
||||
return models.ConfigFile{
|
||||
URL: "ws://localhost:8080/ws",
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue