diff --git a/controle_cotisation/main.py b/controle_cotisation/main.py index 49d0242..ad2cfb5 100755 --- a/controle_cotisation/main.py +++ b/controle_cotisation/main.py @@ -286,7 +286,11 @@ def validate(member): "WHERE m.id = {} AND l.id_account = 481;".format(member) # Note: su.id_service = 1 parceque la cotisation correspond au service 1 - answer = gestion_read(request)["results"][-1] + try: + answer = gestion_read(request)["results"][-1] + except: + print(answer) + raise(Exception) print(answer)