diff --git a/src/utils.ts b/src/utils.ts index deb1ca3..42a02e6 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -130,9 +130,12 @@ export const createSmartContractCallAddBatchParams = async (params: { result, hashParams }; - } catch (e) { + } catch (e:any){ console.log('createSmartContractCallAddBatchParams error', e) - throw e + return { + result: e.message, + hashParams:'' + } } }