Skip to content

Commit

Permalink
[sendTx] stringify error on confirm
Browse files Browse the repository at this point in the history
  • Loading branch information
ochaloup committed Dec 15, 2023
1 parent ddae8fa commit 12808b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/lib/web3js-common/src/tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ export async function executeTx({
)
if (res.value.err) {
throw new Error(
`Failure confirming transaction ${txSig}, confirm result: ${res}`
`Failure confirming transaction ${txSig}, confirm result: ${JSON.stringify(
res
)}`
)
}
let txSearchConnection = connection
Expand Down

0 comments on commit 12808b5

Please sign in to comment.