Skip to content

Commit

Permalink
fix: more logging of upload get fail (#2593)
Browse files Browse the repository at this point in the history
  • Loading branch information
travis authored Apr 17, 2024
1 parent 27632d8 commit 35cc344
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/api/src/utils/w3up.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ export async function getW3upDeals(client, contentClaimsClient, contentCid) {
let upload
try {
upload = await client.capability.upload.get(link)
} catch (e) {
console.error('error getting upload', e)
} catch (/** @type {any} */ e) {
console.error('error getting upload', e, e?.cause)
return []
}
const filecoinInfoResults = await getFilecoinInfos(
Expand Down

0 comments on commit 35cc344

Please sign in to comment.