Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core/chains/evm/client/errors.go: wrap log msgs with Sprintf (SHIP-1172) #12168

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

friedemannf
Copy link
Member

The log statments were incorrectly containing formatting verbs when the additional arguments are actually additional log fields. This leads to errors when they're being called:

Ignored key-value pairs with non-string keys.:: logger/prometheus.go:169

Wrapped the messages containing verbs with fmt.Sprintf to format the string.

Copy link
Contributor

I see that you haven't updated any CHANGELOG files. Would it make sense to do so?

Copy link
Contributor

I see that you haven't updated any README files. Would it make sense to do so?

@friedemannf friedemannf changed the title core/chains/evm/client/errors.go: wrap log msgs with Sprintf core/chains/evm/client/errors.go: wrap log msgs with Sprintf (SHIP-1172) Feb 26, 2024
@simsonraj simsonraj added this pull request to the merge queue Feb 26, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 26, 2024
@simsonraj simsonraj added this pull request to the merge queue Feb 26, 2024
Merged via the queue into develop with commit 05b5612 Feb 26, 2024
97 checks passed
@simsonraj simsonraj deleted the logger_sprintf branch February 26, 2024 13:10
snehaagni added a commit that referenced this pull request Feb 27, 2024
core/chains/evm/client/errors.go: wrap log msgs with Sprintf (#12168)
snehaagni added a commit that referenced this pull request Feb 28, 2024
…ick-05b5612

Revert "core/chains/evm/client/errors.go: wrap log msgs with Sprintf (#12168)"
anirudhwarrier added a commit that referenced this pull request Mar 4, 2024
…#12280)

Co-authored-by: Friedemann Fürst <friedemann.fuerst@smartcontract.com>
snehaagni added a commit that referenced this pull request Mar 4, 2024
…2172-cherry-pick-05b5612

Add back "core/chains/evm/client/errors.go: wrap log msgs with Sprintf (#12168)"
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.

3 participants