Closed victor-villar closed 2 months ago
We need to handle the general case where we have a HTTPError without a JSON coming in the response field. In this function: https://github.com/Qiskit/qiskit-transpiler-service/blob/603bd86f9d8f52c6ded1a1febed5c37be8b6ed9c/qiskit_transpiler_service/wrappers/base.py#L182-L197
The only case that I think we can be sure it comes with json info is the UNPROCESSABLE_ENTITY given the way they are created on the service.
UNPROCESSABLE_ENTITY
We need to handle the general case where we have a HTTPError without a JSON coming in the response field. In this function: https://github.com/Qiskit/qiskit-transpiler-service/blob/603bd86f9d8f52c6ded1a1febed5c37be8b6ed9c/qiskit_transpiler_service/wrappers/base.py#L182-L197
The only case that I think we can be sure it comes with json info is the
UNPROCESSABLE_ENTITY
given the way they are created on the service.