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