mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-14 19:00:13 +01:00
Improved error message
This commit is contained in:
@@ -560,7 +560,7 @@ public class EmailService implements AutoCloseable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String msg = ex.getMessage();
|
String msg = ex.getMessage();
|
||||||
if (auth == AUTH_TYPE_GMAIL &&
|
if ((auth == AUTH_TYPE_GMAIL || auth == AUTH_TYPE_OAUTH) &&
|
||||||
msg != null && msg.endsWith("Invalid credentials (Failure)"))
|
msg != null && msg.endsWith("Invalid credentials (Failure)"))
|
||||||
msg += "\n" + context.getString(R.string.title_service_token);
|
msg += "\n" + context.getString(R.string.title_service_token);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user