Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Implement error handling/display for transcoder loading #333

Merged
merged 1 commit into from
Feb 15, 2019

Conversation

iameli
Copy link
Member

@iameli iameli commented Feb 15, 2019

Fixes #330

All the notifyOnNetworkStatusChange: true changes are necessary to get
the "error" field of a graphQL query propagating all the way back to our
component, unfortunately. See discussion here:
livepeer/ui-kit#330

Also bumped all the Apollo versions. Didn't fix the problem but it also
didn't introduce any so I kept the upgrade.

Screenshots (optional):

image

Checklist:

  • [x ] I have read the CONTRIBUTING document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

Fixes #330

All the `notifyOnNetworkStatusChange: true` changes are necessary to get
the "error" field of a graphQL query propagating all the way back to our
component, unfortunately. See discussion here:
livepeer/ui-kit#330

Also bumped all the Apollo versions. Didn't fix the problem but it also
didn't introduce any so I kept the upgrade.
@iameli
Copy link
Member Author

iameli commented Feb 15, 2019

(To be clear, those screenshots are from a different branch — I didn't, like, introduce errors for the purpose of showing error handling 😃)

Copy link
Member

@yondonfu yondonfu left a comment

Choose a reason for hiding this comment

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

LGTM

@iameli iameli merged commit 1af1cf7 into master Feb 15, 2019
@iameli iameli deleted the transcoder-error-handling branch February 15, 2019 21:34
@iameli
Copy link
Member Author

iameli commented Feb 21, 2019

I'm going to revert this for now — it's caused inconsistency (#340) and "flickering" in a few areas of the UI, and there are higher-priority things to deploy.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Subgraph GraphQL Errors are being silently ignored
2 participants