Project

General

Profile

Bug #56925

ValueError: ("MEL is not a valid email, ''", ValueError('no @ in MEL'))

Added by sentry io 14 days ago. Updated 14 days ago.

Status:
Nouveau
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
14 Sep 2021
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

https://sentry.entrouvert.org/entrouvert/publik/issues/52112/

ValueError: no @ in MEL
  File "eopayment/tipi.py", line 128, in request
    raise ValueError('no @ in MEL')

ValueError: ("MEL is not a valid email, ''", ValueError('no @ in MEL'))
(5 additional frame(s) were not displayed)
...
  File "combo/apps/lingo/views.py", line 608, in get
    lastname=lastname,
  File "contextlib.py", line 74, in inner
    return func(*args, **kwds)
  File "combo/apps/lingo/views.py", line 450, in handle_payment
    total_amount, **kwargs
  File "__init__.py", line 168, in request
    return self.backend.request(amount, **kwargs)
  File "eopayment/tipi.py", line 132, in request
    raise ValueError('MEL is not a valid email, %r' % mel, e)

History

#1

Updated by Lauréline Guerin 14 days ago

  • Project changed from Suivi des traces to Lingo
#2

Updated by Benjamin Dauvergne 14 days ago

AMHA c'est coté eopayment qu'on devrait convertir les ValueError (ou le faire dans le module TIPI directement) en PaymentException et vérifier que ce sera bien traité par lingo au passage.

Also available in: Atom PDF