Temporarily work-around for repo update crashes
On certain locales, F-Droid would crash at startup due to #334. This isn't a proper fix, but rather a workaround that logs what happened and links to the issue, instead of making F-Droid crash entirely.
This commit is contained in:
parent
f0481ffa14
commit
2d14e3c1c4
@ -157,6 +157,11 @@ public class LocalRepoKeyStore {
|
||||
} catch (UnrecoverableKeyException | KeyStoreException | NoSuchAlgorithmException | CertificateException | OperatorCreationException | IOException e) {
|
||||
Log.e(TAG, "Error loading keystore: " + e.getMessage());
|
||||
Log.e(TAG, Log.getStackTraceString(e));
|
||||
// TODO: Remove once we have a proper fix for #334
|
||||
} catch (IllegalArgumentException e) {
|
||||
Log.e(TAG, "Error loading keystore: " + e.getMessage());
|
||||
Log.e(TAG, Log.getStackTraceString(e));
|
||||
Log.e(TAG, "See https://gitlab.com/fdroid/fdroidclient/issues/334");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user