Skip to content

Throw error if GetObjectResponse contains None #16

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

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

G8XSU
Copy link
Collaborator

@G8XSU G8XSU commented Nov 16, 2023

When VSS Server responds with a valid GetObjectResponse, it should always contains a value, otherwise it is an api violation by server. Hence, we throw InternalServerError here.

Fixes #15

@G8XSU G8XSU requested a review from jkczyz November 16, 2023 01:29
When VSS Server responds with a valid GetObjectResponse,
it should always contains a value, otherwise it is an api
violation by server. Hence, we throw InternalServerError here.
@G8XSU G8XSU force-pushed the throwValueAbsentViolation branch from 6533ea0 to aa32775 Compare November 16, 2023 01:33
@G8XSU G8XSU merged commit 2b97b10 into lightningdevkit:main Nov 16, 2023
@G8XSU G8XSU mentioned this pull request Nov 28, 2023
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.

Validate value exists in GetobjectResponse and throw error in that case.
2 participants