We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1eb0280 commit d3b211dCopy full SHA for d3b211d
hoverctl/configuration/config.go
@@ -19,7 +19,12 @@ type Config struct {
19
func GetConfig() *Config {
20
err := viper.ReadInConfig()
21
if err != nil {
22
- log.Debug(err.Error())
+ log.Debug("Error reading config")
23
+ if err.Error() == `Unsupported Config Type ""` {
24
+ log.Debug("viper not properly configured, if this is the first time executing hoverctl, please try te command again")
25
+ } else {
26
+ log.Debug(err.Error())
27
+ }
28
}
29
30
return &Config{
0 commit comments