Skip to content

Commit

Permalink
fix: add a log
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Jan 10, 2024
1 parent 72967d6 commit caba7c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ class WrappedTransactionClass implements WrappedTransaction {
* @returns string
*/
parseNodeError(contract: Contract, error: any) {
console.error(error);
if (error?.error?.error) {
const innerError = error.error.error;
// works on mainnet-forked Ganache local testnet
Expand Down

0 comments on commit caba7c1

Please sign in to comment.