We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f67dbf commit ddb35f6Copy full SHA for ddb35f6
src/ipfs/Ipfs.ts
@@ -60,7 +60,7 @@ export class Ipfs extends NexusSDKBase {
60
return response.ipfsHash;
61
} catch (error) {
62
console.error('Error:', error);
63
- throw new Error('Failed to upload data to IPFS');
+ throw new Error('Failed to upload data to IPFS', { cause: error });
64
}
65
66
0 commit comments