From f4e6c5ac3c3d12c89f7fae200517e75b01031380 Mon Sep 17 00:00:00 2001 From: Fadli Date: Thu, 15 Dec 2022 15:39:38 +0700 Subject: [PATCH] - push logs send callback --- src/transaction/transaction.service.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/transaction/transaction.service.ts b/src/transaction/transaction.service.ts index c69b74c..812a949 100644 --- a/src/transaction/transaction.service.ts +++ b/src/transaction/transaction.service.ts @@ -1670,6 +1670,7 @@ export class TransactionService { ); if (!partnerData.callback_url) { + console.log('nopartnerurl', 'msk'); this.logger.error(`Call to partner failed, reason: no callback url`); return false; @@ -1684,9 +1685,10 @@ export class TransactionService { try { const res = await axios.get(url); - + console.log('successcallback', res); return res; } catch (e) { + console.log('errorsendcallback', 'msk'); this.logger.error(`Call to partner failed, reason: ${e.message}`); return false;