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

OCM plugin should have more verbose error card when backend is unavailable #872

Closed
Zaperex opened this issue Oct 24, 2023 · 1 comment
Closed

Comments

@Zaperex
Copy link
Member

Zaperex commented Oct 24, 2023

What do you want to improve?

The OCM frontend error card

What is the current behavior?

Currently when the OCM backend is unavailable, the OCM frontend outputs an error card with a very generic error message: SyntaxError: Unexpected end of JSON input
image
This does not tell the user much about what the actual issue is, and unless the user is familiar with this error they would have no idea this is due to the backend not being accessible. Ex: in the backstage-showcase, the ocm backend might be turned off.

What will the new behavior be?

The error card should instead inform the user that the backend might not be accessible or something more specific to the actual cause of the error.

@rhdh-bot
Copy link
Collaborator

rhdh-bot commented Sep 3, 2024

This issue has been closed due to the fact that the Janus community is being sunset.

For future plugin issues, please use https://github.com/backstage/community-plugins/issues

For future showcase issues, please use https://issues.redhat.com/browse/RHIDP

For more information on the sunset, see:

https://janus-idp.io/blog/2024/07/05/future-of-janus-community
https://issues.redhat.com/browse/RHIDP-3690
https://issues.redhat.com/browse/RHIDP-1018

@rhdh-bot rhdh-bot closed this as completed Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants