mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 13:47:05 +02:00
Improved error message
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user