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: ErrorBoundary to capture unknown errors #81

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

sahil143
Copy link
Collaborator

No description provided.

Copy link

codecov bot commented Jan 15, 2025

Codecov Report

Attention: Patch coverage is 86.95652% with 6 lines in your changes missing coverage. Please review.

Project coverage is 80.13%. Comparing base (a9dfb32) to head (17ec062).
Report is 18 commits behind head on main.

Files with missing lines Patch % Lines
src/routes/RouteErrorBoundary.tsx 86.95% 5 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #81      +/-   ##
==========================================
+ Coverage   80.01%   80.13%   +0.12%     
==========================================
  Files         569      570       +1     
  Lines       21379    21530     +151     
  Branches     5037     5342     +305     
==========================================
+ Hits        17107    17254     +147     
- Misses       4248     4250       +2     
- Partials       24       26       +2     
Flag Coverage Δ
unittests 80.13% <86.95%> (+0.12%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

const httpError = error as HttpError;
<ErrorEmptyState
httpError={httpError}
title="Unable to load pipeline runs"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Reminder: Fix the text.

Copy link
Contributor

Choose a reason for hiding this comment

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

Will the text be fixed in this PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed

@StanislavJochman
Copy link
Contributor

LGTM

@abhinandan13jan
Copy link
Contributor

LGTM

@sahil143 sahil143 merged commit 9367dcb into konflux-ci:main Jan 29, 2025
5 checks passed
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.

4 participants