Remove logging for payment processing attempts in payment processor
This commit is contained in:
parent
4d061dab3e
commit
43391fc938
@ -17,13 +17,8 @@ export class PaymentProcessor extends WorkerHost {
|
||||
async process(job: Job<PaymentJobData>) {
|
||||
const { paymentId, retryCount = 0 } = job.data;
|
||||
|
||||
this.logger.log(
|
||||
`Processing payment ${paymentId}, attempt ${retryCount + 1}`,
|
||||
);
|
||||
|
||||
try {
|
||||
await this.processPaymentService.execute(paymentId);
|
||||
this.logger.log(`Pagamento ${paymentId} processado com sucesso`);
|
||||
|
||||
return { success: true, paymentId };
|
||||
} catch (error) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user