Skip to content

Commit

Permalink
showing errors in console
Browse files Browse the repository at this point in the history
  • Loading branch information
Marchand-Nicolas committed Jul 17, 2024
1 parent 073b621 commit 55cc919
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hooks/paymaster.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ const usePaymaster = (
"pending",
true
)
.catch(() => setInvalidTx(true));
.catch((e) => {
console.error(e);
setInvalidTx(true);
});
},
[provider]
);
Expand Down

0 comments on commit 55cc919

Please sign in to comment.