diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java index 9ea1b773e..ca7e622bb 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/provider/ProviderHelper.java @@ -150,11 +150,11 @@ public class ProviderHelper { if (data != null) { try { result.put(masterKeyId, - UncachedKeyRing.decodePublicFromData(data).getPublicKey()); + UncachedKeyRing.decodeFromData(data).getPublicKey()); } catch(PgpGeneralException e) { - Log.e(Constants.TAG, "Error parsing keyring, skipping."); + Log.e(Constants.TAG, "Error parsing keyring, skipping " + masterKeyId, e); } catch(IOException e) { - Log.e(Constants.TAG, "IO error, skipping keyring"); + Log.e(Constants.TAG, "IO error, skipping keyring" + masterKeyId, e); } } } while (cursor.moveToNext());