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

fix wrapping of nil errors #11282

Merged
merged 4 commits into from
Aug 22, 2022

Conversation

roberto-bayardo
Copy link
Contributor

What type of PR is this?

Uncomment one line below and remove others.

Bug fix

What does this PR do? Why is it needed?

This PR removes the calls to errors.Wrap(err, ...) that are being made when err is known to be nil, which causes the true error to get swallowed.

Which issues(s) does this PR fix?

Other notes for review

@roberto-bayardo roberto-bayardo requested a review from a team as a code owner August 22, 2022 02:40
@CLAassistant
Copy link

CLAassistant commented Aug 22, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@rkapka rkapka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing @roberto-bayardo!

@prylabs-bulldozer prylabs-bulldozer bot merged commit 8da4d57 into prysmaticlabs:develop Aug 22, 2022
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.

4 participants