From bdb3cd9d5d7673fc4d451d2032a1c02848761b5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stresing?= Date: Tue, 13 Sep 2022 21:49:01 +0200 Subject: [PATCH] concretize error message --- pkg/noxon/jsonPresetsModel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/noxon/jsonPresetsModel.go b/pkg/noxon/jsonPresetsModel.go index 669fcdf..4d7c726 100644 --- a/pkg/noxon/jsonPresetsModel.go +++ b/pkg/noxon/jsonPresetsModel.go @@ -18,7 +18,7 @@ func NewJsonPresetsModel() JsonPresetsModel { } if dat, err := os.ReadFile("presets.json"); err != nil { - log.Warnf("Could not read presets file - will create one: %s", err.Error()) + log.Warnf("Could not read presets file - will create one if needed: %s", err.Error()) } else if len(dat) > 0 { if err := json.Unmarshal(dat, &model.presets); err != nil { log.Errorf("Could not unmarshal presets: %s", err.Error())