From ad5d23bbebfb73d3c82c803943da4980f70aff14 Mon Sep 17 00:00:00 2001 From: Cyril David Date: Tue, 1 Sep 2020 10:05:50 -0700 Subject: [PATCH] Add log line instead of err --- internal/config/profile.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/config/profile.go b/internal/config/profile.go index 2ecda1aa1..52c81e257 100644 --- a/internal/config/profile.go +++ b/internal/config/profile.go @@ -3,6 +3,7 @@ package config import ( "errors" "fmt" + "log" "os" "path/filepath" "strings" @@ -152,7 +153,7 @@ func (p *Profile) writeProfile(runtimeViper *viper.Viper) error { } if err := runtimeViper.MergeInConfig(); err != nil { - return err + log.Println(err) } runtimeViper.SetConfigFile(profilesFile)