Merge branch 'development' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend into devops-staging
This commit is contained in:
commit
335cff4202
|
@ -1670,6 +1670,7 @@ export class TransactionService {
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!partnerData.callback_url) {
|
if (!partnerData.callback_url) {
|
||||||
|
console.log('nopartnerurl', 'msk');
|
||||||
this.logger.error(`Call to partner failed, reason: no callback url`);
|
this.logger.error(`Call to partner failed, reason: no callback url`);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
@ -1684,9 +1685,10 @@ export class TransactionService {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const res = await axios.get(url);
|
const res = await axios.get(url);
|
||||||
|
console.log('successcallback', res);
|
||||||
return res;
|
return res;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
console.log('errorsendcallback', 'msk');
|
||||||
this.logger.error(`Call to partner failed, reason: ${e.message}`);
|
this.logger.error(`Call to partner failed, reason: ${e.message}`);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user