diff --git a/packages/api/src/utils/w3up.js b/packages/api/src/utils/w3up.js index 00bc17b32e..af9df6b6e1 100644 --- a/packages/api/src/utils/w3up.js +++ b/packages/api/src/utils/w3up.js @@ -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(