Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

[canonicallog] Only log once if we failed to convert from netAddr #264

Merged
merged 1 commit into from
Jun 24, 2022

Conversation

MarcoPolo
Copy link
Contributor

I realized I didn't return after the error check when converting a net.Addr. So it ended up logging twice in that case.

Fixed to log only once as well as the conversion error so it's apparent what went wrong.

@MarcoPolo MarcoPolo changed the title Only log once if we failed to convert from netAddr [canonicallog] Only log once if we failed to convert from netAddr Jun 23, 2022
@MarcoPolo MarcoPolo merged commit b430f5b into master Jun 24, 2022
@MarcoPolo MarcoPolo deleted the marco/fix-double-log branch June 24, 2022 14:46
@MarcoPolo MarcoPolo mentioned this pull request Jul 7, 2022
41 tasks
@ajnavarro ajnavarro mentioned this pull request Aug 24, 2022
72 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants