mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-02 13:14:39 +00:00
Improved error message
This commit is contained in:
parent
fd462abe65
commit
9bfbbb6950
1 changed files with 2 additions and 1 deletions
|
@ -318,7 +318,8 @@ public class FragmentOAuth extends FragmentBase {
|
|||
try {
|
||||
authIntent = authService.getAuthorizationRequestIntent(authRequest);
|
||||
} catch (ActivityNotFoundException ex) {
|
||||
throw new ActivityNotFoundException("Browser not found");
|
||||
Log.e(ex);
|
||||
throw new ActivityNotFoundException("Browser not found: " + ex.getMessage());
|
||||
}
|
||||
PackageManager pm = getContext().getPackageManager();
|
||||
if (authIntent.resolveActivity(pm) == null) // action whitelisted
|
||||
|
|
Loading…
Reference in a new issue