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(response): return response also in case of error #21

Merged
merged 2 commits into from
Oct 2, 2024

Conversation

till
Copy link
Contributor

@till till commented Oct 1, 2024

In the previous release, I introduced the response as a return value
on various function calls. In case of error, the response was nil
which leads to a nil pointer exception in other code.

This commit ensures that the response object is always returned.

@till till self-assigned this Oct 1, 2024
till added 2 commits October 1, 2024 19:25
In the previous release, I introduced the response as a return value
on various function calls. In case of error, the response was nil
which leads to a nil pointer exception in other code.

This commit ensures that the response object is always returned.
@till till force-pushed the fix-response-usage branch from 057324c to 5365b3a Compare October 2, 2024 07:22
@pull-request-size pull-request-size bot added size/M and removed size/S labels Oct 2, 2024
@till till merged commit 809ce7a into main Oct 2, 2024
2 checks passed
@till till deleted the fix-response-usage branch October 2, 2024 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant