Skip to content

Commit

Permalink
fix: more logging of upload get fail
Browse files Browse the repository at this point in the history
  • Loading branch information
travis committed Apr 17, 2024
1 parent 766a7c1 commit 4f6a4f4
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 4f6a4f4

Please sign in to comment.