Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Add error handling to make_pack_deltas and called functions #100

Open
matthewrsj opened this issue Nov 20, 2017 · 0 comments
Open

Add error handling to make_pack_deltas and called functions #100

matthewrsj opened this issue Nov 20, 2017 · 0 comments

Comments

@matthewrsj
Copy link
Contributor

Reported by @pohly

make_pack_deltas and everything that it calls ignores errors. It can of course proceed without the deltas, but the result isn't what it should be.

For example, suppose there is a download error because of some temporary server failure or some permanent error because the URL was misconfigured. Such errors should not be ignored. I'd expect swupd_make_pack to fail instead. Error handling should be added to at least report and abort when delta pack creation fails.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant