Merge branch 'development' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend into devops-staging
This commit is contained in:
commit
e38a15ee32
|
@ -55,6 +55,10 @@ export const doTransaction = async (
|
||||||
console.log('restranshemat', res)
|
console.log('restranshemat', res)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log('errtranshemat', err);
|
console.log('errtranshemat', err);
|
||||||
|
if (err.includes('Maaf Saldo anda tidak mencukupi')) {
|
||||||
|
throw 'maaf saat ini transaksi sedang tidak bisa diproses, silahkan hubungi WND Solutions untuk bisa di proses kembali';
|
||||||
|
} else {
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user