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

ui: Gracefully cope with 500 errors from the disco-chain API endpoint #7291

Merged
merged 1 commit into from
Feb 14, 2020

Conversation

johncowen
Copy link
Contributor

When connect is disabled the discovery-chain endpoint returns a 500
error status, which we previously did not gracefully cope with.

This commit gracefully copes with any errors from the disco-chain
endpoint by suppressing the error and hiding the Routing tab from the
Service detail page.

Acceptance test included

Fixes #7288

When connect is disabled the discovery-chain endpoint returns a 500
error status, which we previoulsy did not gracefully cope with.

This commit gracefully copes with any errors from the disco-chain
endpoint by supressing the error and hiding the Routing tab from the
Service detail page.

Acceptance test included
@johncowen johncowen added the theme/ui Anything related to the UI label Feb 13, 2020
@johncowen johncowen requested a review from a team February 13, 2020 15:25
@johncowen johncowen added this to the 1.7.1 milestone Feb 13, 2020
Copy link
Contributor

@kaxcode kaxcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯 LGTM

@johncowen johncowen merged commit 65dd14d into master Feb 14, 2020
@johncowen johncowen deleted the bugfix/ui-disco-500 branch February 14, 2020 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/ui Anything related to the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

500 (The backend responded with an error)
2 participants