Projet

Général

Profil

0003-lingo-catch-PaymentException-on-backend-response-425.patch

Valentin Deniaud, 06 mai 2020 17:43

Télécharger (1,03 ko)

Voir les différences:

Subject: [PATCH 3/4] lingo: catch PaymentException on backend response
 (#42581)

 combo/apps/lingo/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
combo/apps/lingo/views.py
554 554
        logger.info(u'received payment response: %r', backend_response)
555 555
        try:
556 556
            payment_response = payment.response(backend_response)
557
        except eopayment.ResponseError as e:
557
        except (eopayment.ResponseError, eopayment.PaymentException) as e:
558 558
            logger.error(u'failed to process payment response: %s', e,
559 559
                         extra={'eopayment_raw_response': repr(backend_response)})
560 560
            raise PaymentException('Failed to process payment response')
561
-