diff options
author | matthieu <matthieu.cneude@gmail.com> | 2018-08-12 21:10:15 +0200 |
---|---|---|
committer | matthieu <matthieu.cneude@gmail.com> | 2018-08-12 21:10:15 +0200 |
commit | 30bdbd05198f60cbf7372acc3f99c9566a29bfca (patch) | |
tree | 7cb1840f67711c66858dca39166e48bab3347b4d | |
parent | 4f2b9a4eeebfa7d9ae329305c20f432bfaebeb42 (diff) |
[master] change panic error message
-rw-r--r-- | internal/plateform/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/plateform/config.go b/internal/plateform/config.go index bb2a32a..c93465b 100644 --- a/internal/plateform/config.go +++ b/internal/plateform/config.go @@ -15,7 +15,7 @@ func MapConfig(data []byte) config { viper.SetConfigType("yaml") err := viper.ReadConfig(bytes.NewBuffer(data)) if err != nil { - panic(fmt.Errorf("Fatal error reading config file: %s \n", err)) + panic(fmt.Errorf("could not read config data %s: %s \n", string(data), err)) } var cfg config |