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

This commit is contained in:
Fadli 2022-12-15 15:40:13 +07:00
commit 335cff4202

View File

@ -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;