mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
return error instead of fatal
This commit is contained in:
parent
876493c67d
commit
8e06bb5ff3
1 changed files with 1 additions and 1 deletions
|
|
@ -490,7 +490,7 @@ func GetTLSConfig(tlsConfig *TLSConfig) (TLSConfig *tls.Config, err error) {
|
|||
if tlsConfig.CACertPath != "" {
|
||||
b, err := ioutil.ReadFile(tlsConfig.CACertPath)
|
||||
if err != nil {
|
||||
log.Fatalf("loading tls ca key: %s\n", err)
|
||||
return nil, errors.Wrap(err, "loading tls ca key")
|
||||
}
|
||||
certPool := x509.NewCertPool()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue