Merge branch 'master' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend into devops-production

This commit is contained in:
Muhammad Fadli 2023-08-31 15:40:35 +07:00
commit 0137c849ab

View File

@ -36,11 +36,10 @@ export const doTransaction = async (
.catch(e => { .catch(e => {
// Handle error // Handle error
console.log('inierrorelang', e) console.log('inierrorelang', e)
console.log('inierrorelang2', e.response.data)
throw new HttpException( throw new HttpException(
{ {
statusCode: HttpStatus.INTERNAL_SERVER_ERROR, statusCode: HttpStatus.INTERNAL_SERVER_ERROR,
error: e.error, error: 'maaf saat ini transaksi sedang tidak bisa diproses, silahkan hubungi WND Solutions untuk bisa di proses kembali',
}, },
HttpStatus.INTERNAL_SERVER_ERROR, HttpStatus.INTERNAL_SERVER_ERROR,
); );