From c506deb30089b626cb1cf0c2a2f924df958e5ce1 Mon Sep 17 00:00:00 2001 From: Mark Paul Date: Fri, 13 Sep 2024 11:06:54 +1000 Subject: [PATCH] feature: logic and error handling improvements to CNftSolMinter --- package.json | 2 +- src/cnft-sol-minter.ts | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 9aad241..7d88792 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@itheum/sdk-mx-data-nft", - "version": "3.7.0-alpha.3", + "version": "3.7.0-alpha.4", "description": "SDK for Itheum's Data NFT Technology on MultiversX and Solana", "main": "out/index.js", "types": "out/index.d.js", diff --git a/src/cnft-sol-minter.ts b/src/cnft-sol-minter.ts index cbf2e3d..0a90a44 100644 --- a/src/cnft-sol-minter.ts +++ b/src/cnft-sol-minter.ts @@ -237,8 +237,9 @@ export class CNftSolMinter extends MinterSol { throw e; } } - } catch (e) { - console.error(e); + } catch (error) { + console.error(error); + throw error; } return {