From 2217917bc8675420ed805e61ffa30b91881572f1 Mon Sep 17 00:00:00 2001 From: Muhammad Fadli Date: Thu, 31 Aug 2023 15:36:34 +0700 Subject: [PATCH 1/2] - fix response error elang --- src/helper/irs-api.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/helper/irs-api.ts b/src/helper/irs-api.ts index 51ea15f..b871420 100644 --- a/src/helper/irs-api.ts +++ b/src/helper/irs-api.ts @@ -36,7 +36,6 @@ export const doTransaction = async ( .catch(e => { // Handle error console.log('inierrorelang', e) - console.log('inierrorelang2', e.response.data) throw new HttpException( { statusCode: HttpStatus.INTERNAL_SERVER_ERROR, From 4477178f2e5016856d599d6188a7a413327928bc Mon Sep 17 00:00:00 2001 From: Muhammad Fadli Date: Thu, 31 Aug 2023 15:38:40 +0700 Subject: [PATCH 2/2] - fix response error elang --- src/helper/irs-api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helper/irs-api.ts b/src/helper/irs-api.ts index b871420..75818b1 100644 --- a/src/helper/irs-api.ts +++ b/src/helper/irs-api.ts @@ -39,7 +39,7 @@ export const doTransaction = async ( throw new HttpException( { 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, );