- push logs send callback
This commit is contained in:
parent
7f412abfa7
commit
f4e6c5ac3c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user