Gérer les zeep.exceptions.Fault contenant des bytes and simplifier la gestion d'erreur autour des appels SOAP (#75649) #154

Merged
bdauvergne merged 4 commits from wip/75649-zeep-exceptions-Fault-est-toujou into main 2023-03-24 16:47:54 +01:00

4 Commits

Author SHA1 Message Date
Benjamin Dauvergne ba8c0cbd67 translation update (#75649)
gitea/passerelle/pipeline/head This commit looks good Details
Remove references to maelis connector's messages.
2023-03-24 16:05:58 +01:00
Benjamin Dauvergne c41cec4d0a misc: remove maelis connector (#75649) 2023-03-24 16:05:58 +01:00
Benjamin Dauvergne 3acd386b46 misc: replace interception of zeep.exceptions.Fault (#75649)
* replaced by no interception at all in some places, as SOAPError inherit
  from APIError
* replaced by SOAPFault in cartads_cs as there was a custom handling of
  the soap Faults.
* new SOAPValidationError error is added to handle translation to
  APIError with 400 status and not logging as an error of the connector.
2023-03-24 16:05:58 +01:00
Benjamin Dauvergne 9b7cb79442 utils/soap: handle case where Fault.detail is a byte string (#75649) 2023-03-24 16:05:58 +01:00