mirror of https://github.com/M66B/FairEmail.git
Invalid private key error message
This commit is contained in:
parent
2092bd7b5c
commit
d4e8e76d29
|
@ -2710,7 +2710,9 @@ public class FragmentCompose extends FragmentBase {
|
||||||
try {
|
try {
|
||||||
chain[0].checkValidity();
|
chain[0].checkValidity();
|
||||||
} catch (CertificateException ex) {
|
} catch (CertificateException ex) {
|
||||||
throw new IllegalArgumentException(context.getString(R.string.title_invalid_key), ex);
|
String msg = ex.getMessage();
|
||||||
|
throw new IllegalArgumentException(
|
||||||
|
TextUtils.isEmpty(msg) ? Log.formatThrowable(ex) : msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check public key email
|
// Check public key email
|
||||||
|
|
Loading…
Reference in New Issue