mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 14:41:08 +00:00
Reduced logging
This commit is contained in:
parent
b6180bec53
commit
4dee49c1af
1 changed files with 6 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue