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 export crushing when family fail to run #62

Merged
merged 9 commits into from
Feb 6, 2023
Merged

Conversation

fishkerez
Copy link
Contributor

@fishkerez fishkerez commented Feb 5, 2023

when a family fail to run, we return error and nil results.
that causing a crash when we try to export these results to the backend, since we try to access the nil results.

This PR fixes this crush, and also:
Currently we don't try to run all the families in case that one is failed. Need to save the error and go to the next one. At the end export the results and the family errors, together with a general error that at least one of the families failed.

@fishkerez fishkerez self-assigned this Feb 5, 2023
cli/cmd/exportresults.go Outdated Show resolved Hide resolved
shared/pkg/families/results/results.go Outdated Show resolved Hide resolved
akpsgit
akpsgit previously approved these changes Feb 5, 2023
@fishkerez fishkerez merged commit 5801e6c into main Feb 6, 2023
@fishkerez fishkerez deleted the fix-export-crash branch February 6, 2023 07:30
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