Catch smart contract errors when using a meta transaction

Hello everyone,

I am implementing an airdrop site and I want to wrap the transaction in a meta transaction using the Defender Relays and autotasks as explained in this workshop

It seems to work for "happy paths", but if the airdrop is rejected, how do I catch the exception and show it in the front-end?

Thanks in advance

1 Like