Skip to content

Commit

Permalink
added enhanced logging part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRoettges committed Dec 1, 2023
1 parent 1a5989c commit 8f67b1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configparser.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func parseCertFromFile(certFile string) (*x509.Certificate, error) {
}
certificate, err := x509.ParseCertificate(block.Bytes)
if err != nil {
return nil, fmt.Errorf("could not parse certificate from file #{certFile}", err)
return nil, fmt.Errorf("could not parse certificate from file #{certFile} %v", err)
}
return certificate, nil
}
Expand Down

0 comments on commit 8f67b1b

Please sign in to comment.