-
Notifications
You must be signed in to change notification settings - Fork 27
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
WD-8294 - feat: Display connection and polling of models error #1682
WD-8294 - feat: Display connection and polling of models error #1682
Conversation
Demo starting at https://juju-dashboard-1682.demos.haus |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1682 +/- ##
=========================================
+ Coverage 0 94.97% +94.97%
=========================================
Files 0 178 +178
Lines 0 5177 +5177
Branches 0 1505 +1505
=========================================
+ Hits 0 4917 +4917
- Misses 0 240 +240
- Partials 0 20 +20 ☔ View full report in Codecov by Sentry. |
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.
A few suggestions here.
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.
This looks good, just one small suggestion.
Done
connectAndStartPolling()
fails, the error is sent to Redux store, and caught and displayed inConnectionError
component.QA
try
block inconnectAndStartPolling()
by throwing a dummy error there e.g.throw new Error("Dummy error.");
.ConnectionError
component renders, same as in the attached screenshot.Error while triggering the connection and polling of models. Error: Dummy error.
followed by the stack trace.Details
Screenshots