1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 10:17:18 +00:00

Show first server details on failure

This commit is contained in:
M66B 2021-08-16 22:37:44 +02:00
parent 27dfb738e2
commit 7a407cd884

View file

@ -292,6 +292,9 @@ public class FragmentQuickSetup extends FragmentBase {
EntityLog.log(context, "Checking" +
" imap=" + provider.imap + " smtp=" + provider.smtp);
if (fail == null)
args.putParcelable("provider", provider);
String user = (provider.user == EmailProvider.UserType.EMAIL ? email : username);
Log.i("User type=" + provider.user + " name=" + user);
@ -382,7 +385,6 @@ public class FragmentQuickSetup extends FragmentBase {
}
if (check) {
args.putParcelable("provider", provider);
args.putSerializable("imap_certificate", imap_certificate);
args.putSerializable("smtp_certificate", smtp_certificate);
return provider;