-
Notifications
You must be signed in to change notification settings - Fork 37
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(semantic hub): display error bar #917
fix(semantic hub): display error bar #917
Conversation
…com/catenax-ng/tx-portal-frontend into fix/891/semantic-hub-error-handling
if (error) { | ||
errorObj.status = Number(error) | ||
errorObj.message = | ||
error && Number(error) >= 400 && Number(error) < 500 |
Check warning
Code scanning / CodeQL
Useless conditional Warning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comments about how to get rid of any type
Description
Show appropriate error information to the user along with reload
Why
To enhance error handling
Issue
#891
Checklist
Please delete options that are not relevant.