mirror of https://github.com/M66B/FairEmail.git
Fixed saving accounts
This commit is contained in:
parent
3df3a39cf3
commit
d8298fb615
|
@ -98,6 +98,7 @@ import javax.mail.event.StoreEvent;
|
||||||
import javax.mail.event.StoreListener;
|
import javax.mail.event.StoreListener;
|
||||||
import javax.mail.internet.InternetAddress;
|
import javax.mail.internet.InternetAddress;
|
||||||
import javax.mail.internet.MimeMessage;
|
import javax.mail.internet.MimeMessage;
|
||||||
|
import javax.mail.internet.ParseException;
|
||||||
import javax.mail.search.ComparisonTerm;
|
import javax.mail.search.ComparisonTerm;
|
||||||
import javax.mail.search.ReceivedDateTerm;
|
import javax.mail.search.ReceivedDateTerm;
|
||||||
|
|
||||||
|
@ -1224,6 +1225,9 @@ public class ServiceSynchronize extends LifecycleService {
|
||||||
updated++;
|
updated++;
|
||||||
else
|
else
|
||||||
unchanged++;
|
unchanged++;
|
||||||
|
} catch (ParseException ex) {
|
||||||
|
Log.e(Helper.TAG, folder.name + " " + ex + "\n" + Log.getStackTraceString(ex));
|
||||||
|
reportError(account.name, folder.name, ex);
|
||||||
} catch (MessageRemovedException ex) {
|
} catch (MessageRemovedException ex) {
|
||||||
Log.w(Helper.TAG, folder.name + " " + ex + "\n" + Log.getStackTraceString(ex));
|
Log.w(Helper.TAG, folder.name + " " + ex + "\n" + Log.getStackTraceString(ex));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue