Skip to content

Commit

Permalink
warn instead of fatal error when proxy configs are erroneous
Browse files Browse the repository at this point in the history
when an error is returned from NewProxyConfig because of wrong
proxy env variables or missing proxy ca cert file, in root.go it
was fatal error which prevented running of any crc commands  and
user was not able to unset the invalid config

this changes it to be a warning, which will allow users to correct
the wrong config

this fixes #3690 #3098
  • Loading branch information
anjannath authored and praveenkumar committed Nov 7, 2023
1 parent f780531 commit da1d72e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/crc/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func init() {
}

if err := setProxyDefaults(); err != nil {
logging.Fatal(err.Error())
logging.Warn(err.Error())
}

// Initiate segment client
Expand Down

0 comments on commit da1d72e

Please sign in to comment.