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

Improve error handling for failed git fetch #5844

Merged
merged 1 commit into from
Mar 14, 2023

Conversation

gatzjames
Copy link
Contributor

@gatzjames gatzjames commented Mar 14, 2023

changelog(Improvements): Added better error handling for Git Sync related edge cases

Currently a failed fetch will default to the closest error boundary.

This adds a try-catch in the fetch action to return the errors instead and allow for displaying the alert message

@gatzjames gatzjames requested a review from a team March 14, 2023 13:35
@gatzjames gatzjames self-assigned this Mar 14, 2023
@filfreire filfreire force-pushed the fix/git-fetch-error-handling branch from 194c527 to a45669c Compare March 14, 2023 15:18
@filfreire filfreire enabled auto-merge (squash) March 14, 2023 15:18
@filfreire filfreire disabled auto-merge March 14, 2023 15:19
@filfreire filfreire merged commit 83f96d5 into Kong:develop Mar 14, 2023
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