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: handle project fetching error #8375

Merged

Conversation

thomasheartman
Copy link
Contributor

@thomasheartman thomasheartman commented Oct 7, 2024

This change handles cases where fetching project details results in errors. In our sandbox instance, that notably happens for the .. project, because that ID breaks the API call.

In short, we now check the state of the request, and if we have an error, we show information about that to the user instead:

image

Copy link

vercel bot commented Oct 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 8, 2024 6:39am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Oct 8, 2024 6:39am

Copy link
Contributor

github-actions bot commented Oct 7, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

@thomasheartman thomasheartman changed the title fix: placeholder comment fix: handle project fetching error Oct 7, 2024
@thomasheartman thomasheartman force-pushed the fix/1-2912-some-project-ids-eg-never-finish-loading branch from 8337171 to 9056d25 Compare October 8, 2024 06:38
@thomasheartman thomasheartman merged commit 8a7bf86 into main Oct 8, 2024
9 of 11 checks passed
@thomasheartman thomasheartman deleted the fix/1-2912-some-project-ids-eg-never-finish-loading branch October 8, 2024 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant