Reduced logging

This commit is contained in:
M66B
2021-10-12 15:37:46 +02:00
parent fa739dd725
commit 12fe908e66

View File

@@ -481,7 +481,9 @@ public class ContactInfo {
ex instanceof CertificateException ||
ex instanceof CertPathValidatorException ||
ex.getCause() instanceof CertPathValidatorException ||
ex.getCause() instanceof CertificateException)
ex.getCause() instanceof CertificateException ||
(ex instanceof SSLException &&
"Unable to parse TLS packet header".equals(ex.getMessage())))
Log.i(ex);
else
Log.e(ex);