visiting channel with no claims returns worthless error #934

Open
opened 2019-02-24 00:06:11 +01:00 by jessopb · 0 comments
jessopb commented 2019-02-24 00:06:11 +01:00 (Migrated from github.com)

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});
  }
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}); } ```
This discussion has been locked. Commenting is limited to contributors.
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/spee.ch#934
No description provided.