jito-labs / jito-ts

Jito Typescript SDK
Other
92 stars 50 forks source link

Cannot catch RESOURCE_EXHAUSTED #17

Open ethers-master opened 7 months ago

ethers-master commented 7 months ago

I try to catch RESOURCE_EXHAUSTED when sendBundle but can't, i need catch this because i will retry with normal transaction, any suggest.

.sendBundle(maybeBundle) .then((bundleId) => console.log("bundleid", bundleId)) .catch((err) => { //Not working with RESOURCE_EXHAUSTED }); Thanks.