Remove logging for payment processor error responses
This commit is contained in:
parent
43391fc938
commit
474dc1af56
@ -26,7 +26,6 @@ export class MakePaymentToProcessorService {
|
|||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
if (response.status !== 200) {
|
if (response.status !== 200) {
|
||||||
this.logger.error(response);
|
|
||||||
throw new Error(response.data.message || 'Payment processor error');
|
throw new Error(response.data.message || 'Payment processor error');
|
||||||
}
|
}
|
||||||
return response.status === 200;
|
return response.status === 200;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user