mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Invalid private key error message
This commit is contained in:
parent
2092bd7b5c
commit
d4e8e76d29
1 changed files with 3 additions and 1 deletions
|
@ -2710,7 +2710,9 @@ public class FragmentCompose extends FragmentBase {
|
|||
try {
|
||||
chain[0].checkValidity();
|
||||
} 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
|
||||
|
|
Loading…
Reference in a new issue