Add logging when checking POP3 server settings fails
This commit is contained in:
parent
32f847622c
commit
1ac7d1bb3d
1 changed files with 5 additions and 2 deletions
|
@ -4,6 +4,7 @@ package com.fsck.k9.mail.store.pop3;
|
|||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import com.fsck.k9.logging.Timber;
|
||||
import com.fsck.k9.mail.AuthType;
|
||||
import com.fsck.k9.mail.ConnectionSecurity;
|
||||
import com.fsck.k9.mail.MessagingException;
|
||||
|
@ -54,8 +55,10 @@ public class Pop3Store {
|
|||
try {
|
||||
folder.open();
|
||||
folder.requestUidl();
|
||||
}
|
||||
finally {
|
||||
} catch (Exception e) {
|
||||
Timber.e(e, "Error while checking server settings");
|
||||
throw e;
|
||||
} finally {
|
||||
folder.close();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue