mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-17 22:43:33 +02:00
Invalid private key error message
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user