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

BCI-268: fix error logging bug #8611

Merged
merged 2 commits into from
Mar 2, 2023

Conversation

augustbleeds
Copy link
Contributor

@augustbleeds augustbleeds commented Mar 2, 2023

We introduced logging an error when no error exists. Note that the the caller of GetEthTxInProgress didn't see an error because this gets transformed into a nil value.

To fix this, we now just return nil directly and set etx = nil inside of the callback

Also passed in qopts to WithOpts. Doesn't matter for now since it's called without options but need to do anyways

For more info see original thread: https://chainlink-core.slack.com/archives/C03EZMT3XPX/p1677756433336309

@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2023

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

@cl-sonarqube-production
Copy link

@samsondav samsondav merged commit 01782e0 into develop Mar 2, 2023
@samsondav samsondav deleted the augustus.BCI-268.fix-bug-error-logging branch March 2, 2023 18:09
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.

2 participants