← Back to issue list

fix(sources): handle streaming request errors

View original Github issue

Metadata

Project
craft-parts
Number
#1533
Type
pull request
State
open
Author
gcomneno
Labels
Created
2026-04-03 17:04:19+00:00
Updated
2026-05-20 21:26:47+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

## Summary Wrap request exceptions raised while streaming file source downloads into `NetworkRequestError`, so file source failures surface as source-facing errors instead of raw `requests` exceptions. ## Testing - `pytest -q tests/unit/sources/test_base.py -rs` ## Issue Closes #1396

Evaluation history

No evaluation history available.