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

Skip to content

refactor: improve exception handling with coroutine cancellation exception

Description

The rethrowing of CancellationException brings better coroutine cancellation handling, which adheres to the best practice.

Issues

https://gitlab.e.foundation/e/os/backlog/-/issues/2479

10 commandments of code reviews

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

Summary by CodeRabbit

  • Bug Fixes
    • Improved error handling for network operations by explicitly managing cancellation events.
    • Enhanced robustness of the network handling logic while retaining existing functionality for timeouts and other errors.
Edited by CodeRabbitAI

Merge request reports

Loading