1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-23 14:41:08 +00:00

Reduced logging

This commit is contained in:
M66B 2022-02-02 08:00:40 +01:00
parent b6180bec53
commit 4dee49c1af

View file

@ -1005,8 +1005,12 @@ public class EmailService implements AutoCloseable {
.equals(ex.getCause().getMessage())) {
if (cert_strict)
throw new CertificateException(principal.getName(), ex);
else
Log.w(ex);
else {
if (BuildConfig.PLAY_STORE_RELEASE)
Log.i(ex);
else
Log.w(ex);
}
} else
throw new CertificateException(principal.getName(), ex);
}