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

Skip to content

fixed: ignore error dialog for 401

Hasib Prince requested to merge 1577-hide_dialog_401 into main

Description

Now App lounge ignores showing error dialog for unauthorized users. As token is refreshed automatically in background.

Screenshots

Technical details

Now we throw exceptions for all types of network error and error dialog is shown after catching the exception. But we need to ignore throwing exceptions and showing error dialog if status code is 401 (Unauthorized user).

Tests

Issues

os/backlog/-/issues/1598

10 commandments of code reviews

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

Merge request reports

Loading