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: error handling #4

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Fix: error handling #4

merged 1 commit into from
Feb 9, 2024

Conversation

rwos
Copy link

@rwos rwos commented Feb 9, 2024

errors.Join returns nil if the list is empty - this is now caught.

I don't think this happens for LegacyErrorResponses (but that is also fixed) but it does happen for the "standard" errors for invoices.

`errors.Join` returns `nil` if the list is empty - this is now caught.

I don't think this happens for LegacyErrorResponses (but that is also
fixed) but it does happen for the "standard" errors for invoices.
@rwos rwos self-assigned this Feb 9, 2024
@rwos rwos requested a review from till February 9, 2024 15:47
@rwos rwos merged commit 5c83ac0 into master Feb 9, 2024
2 checks passed
@rwos rwos deleted the fix-errors branch February 9, 2024 16:18
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