Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

fixed: errors(sentry) of installation process

Description

Fixed the scenario of aborting the whole update process if update checking is failed for a single app.

Now it will continue with the other apps. This MR also fixes some other scenarios related to download process.

Screenshots

Technical details

Update process is run through a work manager and the worker's operations are run within a try/catch block. This try/catch block work for the whole update process, it couldn't determine the error for any particular app. Now Error is handled for each app. If any error is found for any single app, that's skipped.

Checking status of downloadmanager also had an issue. Previously It couldn't recognize any unknown error (ex: Query of downloadmanager faced any error), now it can recognize the error and take appropriate action regarding this failure.

Tests

Issues

backlog/-/issues/1836

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Merge request reports

Loading