Projet

Général

Profil

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

Valentin Deniaud, 08 juin 2020 14:22

Télécharger (1 ko)

Voir les différences:

Subject: [PATCH 2/3] 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
556 556
        logger.info(u'received payment response: %r', backend_response)
557 557
        try:
558 558
            payment_response = payment.response(backend_response)
559
        except eopayment.ResponseError as e:
559
        except eopayment.PaymentException as e:
560 560
            logger.error(u'failed to process payment response: %s', e,
561 561
                         extra={'eopayment_raw_response': repr(backend_response)})
562 562
            raise PaymentException('Failed to process payment response')
563
-