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 --log-format parsing #252

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Conversation

2opremio
Copy link
Contributor

I broke it at #228

It turns out that github.com/stellar/go/support/errors.Wrapf returns nil if the error is nil (which is different to how errors.Errorf behaves).

I have looked at both #228 and #224 and this is the only instance in which we replaced Wrapf by Errorf where we don't first check the error for nil.

I broke it at stellar#228

It turns out that `github.com/stellar/go/support/errors.Wrapf` returns nil if the error is nil
(which is different to how `errors.Errorf` behaves).

I have looked at both stellar#228
and stellar#224 and this is the
only instance in which we replaced `Wrapf` by `Errorf` where we
don't first check the error for `nil`.
@2opremio 2opremio force-pushed the fix-log-format-parsing branch from 4e8f415 to edb3910 Compare July 17, 2024 16:01
@2opremio 2opremio merged commit de7b040 into stellar:main Jul 17, 2024
19 checks passed
@2opremio 2opremio deleted the fix-log-format-parsing branch July 17, 2024 17:00
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