mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 09:47:13 +00:00
Added logging
This commit is contained in:
parent
855cbe93a6
commit
e6a652fe51
1 changed files with 2 additions and 0 deletions
|
@ -476,6 +476,8 @@ public class EmailService implements AutoCloseable {
|
|||
|
||||
if (auth == AUTH_TYPE_GMAIL || auth == AUTH_TYPE_OAUTH) {
|
||||
try {
|
||||
EntityLog.log(context, EntityLog.Type.Debug,
|
||||
ex + "\n" + android.util.Log.getStackTraceString(ex));
|
||||
authenticator.refreshToken(true);
|
||||
connect(host, port, auth, user, factory);
|
||||
} catch (Exception ex1) {
|
||||
|
|
Loading…
Reference in a new issue