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

[RB] Fix error handling #8096

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

[RB] Fix error handling #8096

wants to merge 1 commit into from

Conversation

maggie-lou
Copy link
Contributor

WaitExecution will sometimes set the error on the rsp object, which we were previously failing to check for

Because the default value of an int is 0, if the execute response result was unset, we would sometimes incorrectly return the default value which looks like a success code

Fixes #1 from this thread: https://buildbuddy-corp.slack.com/archives/C07GMM2VBLY/p1734595606837269

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