catch lbrynet error api/claim/get #975

Open
opened 2019-03-25 21:57:10 +01:00 by jessopb · 0 comments
jessopb commented 2019-03-25 21:57:10 +01:00 (Migrated from github.com)

In api/claim/get/index.js
let lbrynetResult = await getClaim(${name}#${claimId});
If this is returned:
{ error: 'Failed to resolve stream at lbry://hello#3ddd4f08ef7aeaf04d530615a68acf6bf2fd6cb5' }
It does not register as an error. Catch it.

In api/claim/get/index.js let lbrynetResult = await getClaim(`${name}#${claimId}`); If this is returned: { error: 'Failed to resolve stream at lbry://hello#3ddd4f08ef7aeaf04d530615a68acf6bf2fd6cb5' } It does not register as an error. Catch it.
Sign in to join this conversation.
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#975
No description provided.