opensafely-core / airlock

Other
2 stars 0 forks source link

Better handling of job-server API errors #400

Closed bloodearnest closed 3 months ago

bloodearnest commented 3 months ago

Currently, if job-server API call fails, we don't really handle it at all.

We should: a) log the response code/message for debugging b) display the error message to the user via message c) maybe retry if appropriate?