Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

visiting channel with no claims returns worthless error #934

Open
jessopb opened this issue Feb 23, 2019 · 0 comments
Open

visiting channel with no claims returns worthless error #934

jessopb opened this issue Feb 23, 2019 · 0 comments
Labels
priority: medium Work needs to be done within 2-3 sprints

Comments

@jessopb
Copy link
Member

jessopb commented Feb 23, 2019

If your new channel has no claims and you visit using channel dropdown: view,
Cannot read property 'reduce' of null is returned on the page.

channelClaims has not try{}catch around

  if (channelLongId) {
    channelClaims = await chainquery.claim.queries.getAllChannelClaims(channelLongId);
    logger.info(`channelClaims:`, {channelClaims});
  }
@alyssaoc alyssaoc added the priority: medium Work needs to be done within 2-3 sprints label Mar 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: medium Work needs to be done within 2-3 sprints
Projects
None yet
Development

No branches or pull requests

2 participants