Skip to content

Commit

Permalink
forgot branch
Browse files Browse the repository at this point in the history
  • Loading branch information
sreya committed Sep 4, 2024
1 parent 9ed8e35 commit 2917cf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xhttp/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ func addCert(log slog.Logger, pool *x509.CertPool, path string) error {
if !pool.AppendCertsFromPEM(b) {
log.Error(context.Background(), "failed to append cert",
slog.F("filepath", path))
} else {
log.Debug(context.Background(), "added cert", slog.F("path", path))
}
log.Debug(context.Background(), "added cert", slog.F("path", path))
return nil
}

0 comments on commit 2917cf1

Please sign in to comment.