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 calling next operation when error #102

Merged
merged 2 commits into from
Oct 8, 2024
Merged

Conversation

didierofrivia
Copy link
Member

No description provided.

@didierofrivia didierofrivia marked this pull request as draft October 7, 2024 14:21
@didierofrivia didierofrivia changed the title Not returning when calling handle_error_on_grpc_response Fix calling next operation when error Oct 7, 2024
@didierofrivia didierofrivia force-pushed the fix-calling-next branch 3 times, most recently from 150fda4 to b53bbda Compare October 7, 2024 15:56
@didierofrivia didierofrivia marked this pull request as ready for review October 7, 2024 15:56
}
_ => {}
_ => Err(StatusCode::InternalServerError),
Copy link
Member

Choose a reason for hiding this comment

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

I'm wondering about this case here, this is the fall through for the matches above - if we always expect the above should we do GrpcService::handle_error_on_grpc_response(failure_mode); as well, similar to the auth case?

Copy link
Member

@adam-cattermole adam-cattermole left a comment

Choose a reason for hiding this comment

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

Minor suggestion but otherwise changes look good

* We can later check on the actual status to make decisions

Signed-off-by: dd di cesare <[email protected]>
@didierofrivia didierofrivia changed the base branch from auth-tests to main October 8, 2024 09:33
@didierofrivia didierofrivia merged commit 8b27b6f into main Oct 8, 2024
8 checks passed
@didierofrivia didierofrivia deleted the fix-calling-next branch October 8, 2024 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants