Handle daemon startup errors/timeouts #2098

Merged
neb-b merged 2 commits from daemon-startup into master 2018-11-08 21:51:25 +01:00
neb-b commented 2018-11-08 20:19:30 +01:00 (Migrated from github.com)

PR Checklist

Please check all that apply to this PR using "x":

  • I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
  • I have checked that this PR does not introduce a breaking change
  • This PR introduces breaking changes and I have provided a detailed explanation below

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Breaking changes (bugfix or feature that introduces breaking changes)
  • Code style update (formatting)
  • Refactoring (no functional changes)
  • Documentation changes
  • Other - Please describe:

Fixes

#2021

What is the current behavior?

If the app can't connect to the daemon, or the daemon returns an error, it sits at Loading forever

What is the new behavior?

If the daemon returns an error show an error message with a refresh button, or if the connection times out, show the error page.

## PR Checklist Please check all that apply to this PR using "x": - [x] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged) - [x] I have checked that this PR does not introduce a breaking change - [ ] This PR introduces breaking changes and I have provided a detailed explanation below ## PR Type What kind of change does this PR introduce? <!-- Please check all that apply to this PR using "x". --> - [ ] Bugfix - [x] Feature - [ ] Breaking changes (bugfix or feature that introduces breaking changes) - [ ] Code style update (formatting) - [ ] Refactoring (no functional changes) - [ ] Documentation changes - [ ] Other - Please describe: ## Fixes #2021 ## What is the current behavior? If the app can't connect to the daemon, or the daemon returns an error, it sits at `Loading` forever ## What is the new behavior? If the daemon returns an error show an error message with a refresh button, or if the connection times out, show the error page.
skhameneh (Migrated from github.com) approved these changes 2018-11-08 20:58:59 +01:00
skhameneh (Migrated from github.com) commented 2018-11-08 20:57:54 +01:00

can make tooltip local with let tooltip = this.tooltip; at the top, will reduce object prop lookups

can make tooltip local with `let tooltip = this.tooltip;` at the top, will reduce object prop lookups
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#2098
No description provided.