Skip to content

log previously silent error#302

Open
alrs wants to merge 1 commit into
infobloxopen:masterfrom
alrs:unlogged-err
Open

log previously silent error#302
alrs wants to merge 1 commit into
infobloxopen:masterfrom
alrs:unlogged-err

Conversation

@alrs
Copy link
Copy Markdown

@alrs alrs commented Mar 4, 2026

NewTransportConfig() does not return an error, though it does log errors before giving up.

The error from caPool.AppendCertsFromPEM() was being formatted with some contextual information, but then nothing was being done with it. This changes to a log.Printf() as used immediately previously in the function to report the reason for returning early.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant