Reduced logging

pull/194/merge
M66B 3 years ago
parent b6180bec53
commit 4dee49c1af

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

Loading…
Cancel
Save