Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Holo auto installer panics when one of the happ bundels has a wrong format #23

Open
peeech opened this issue Nov 25, 2022 · 0 comments
Open

Comments

@peeech
Copy link
Contributor

peeech commented Nov 25, 2022

Whenever holo-auto-installer runs it reads all the enabled hosted happs from hha. Then it downloads bundles and tries to install ones that are not installed, yet.

If any of the bundles downloaded is of a wrong format entire script panics and terminates because of an unwrap():

let bundle = Bundle::read_from_file(&path).await.unwrap();

Expected behavior:
Script ignores misformated bundle, logs an error, moves on to another one and evantualy terminates successfully.

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

No branches or pull requests

1 participant