Error handling update
This commit is contained in:
parent
237e2498b3
commit
19fe1306e3
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user