Error handling update

This commit is contained in:
sairaj mote 2022-04-15 18:16:00 +05:30
parent 237e2498b3
commit 19fe1306e3

View File

@ -1694,7 +1694,7 @@
}
}
catch (err) {
if ((err.data || err) === 'Insufficient token balance' && asset === 'rupee') {
if ((err.data || err) === 'Insufficient rupe balance') {
showWalletResult('error', `Failed`, err.data || err, 'open-upi')
} else {
showWalletResult('error', `Failed`, err.data || err)