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

Return the original deploy error when it also fails to fetch logs #4000

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

dangra
Copy link
Member

@dangra dangra commented Oct 15, 2024

Change Summary

What and Why: Failed deploys are reporting the wrong error when it also fails to download the failed machine logs

failed to update machine 1857xxxxx348: Unrecoverable error: error getting logs for machine 1857xxxxx348: 422 Unprocessable Entity

How: Always return the original error and show a warning saying logs couldn't be retrieved

Additionally, do not fetch logs if we don't plan to show them.


Documentation

  • Fresh Produce
  • In superfly/docs, or asked for help from docs team
  • n/a

@dangra dangra merged commit e66b2e3 into master Oct 15, 2024
27 of 30 checks passed
@dangra dangra deleted the warn-on-logs-err branch October 15, 2024 10:54
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