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: handling non-json responses from signing backup service #189

Merged
merged 1 commit into from Feb 7, 2024

Conversation

miki725
Copy link
Contributor

@miki725 miki725 commented Feb 6, 2024

Issue

#186

Description

not in all cases service returns valid json for non-200 responses and so we should not parse it assuming it has valid json which caused segfault

Testing

point signing service to dummy endpoint which doesnt return json back

not in all cases service returns valid json for non-200
responses and so we should not parse it assuming it has valid json
which caused segfault
Copy link
Contributor

@MyNameIsMeerkat MyNameIsMeerkat left a comment

Choose a reason for hiding this comment

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

Yup that logic change makes sense to me 👍

@miki725 miki725 merged commit 1d03aa9 into main Feb 7, 2024
2 checks passed
@miki725 miki725 deleted the ms/segfault branch February 7, 2024 13:41
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.

None yet

3 participants