Skip to content

Improve passthrough error handling

James Liu requested to merge jliu-improve-error-messages into main

What does this MR do?

Wraps errors returned from Git, File, and URL passthrough types. Modifies the URL passthrough handler to check the HTTP status code returned from the URL request, to ensure that we're not inadvertently downloading an error page and using it as the passthrough.

What are the relevant issue numbers?

https://gitlab.slack.com/archives/CLA54H7PY/p1675886881923069?thread_ts=1675791242.909339&cid=CLA54H7PY

Does this MR meet the acceptance criteria?

Edited by Lucas Charles

Merge request reports