From 1ff3962acc755e44a011dd9ab9ced4d3593d1fb9 Mon Sep 17 00:00:00 2001 From: Tim Bray Date: Thu, 22 May 2014 17:04:31 -0700 Subject: [PATCH] Add Log.d for QueryFailedException --- .../sufficientlysecure/keychain/ui/ImportKeysListFragment.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ImportKeysListFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ImportKeysListFragment.java index 9c05dcc65..d297d8b3f 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ImportKeysListFragment.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ImportKeysListFragment.java @@ -292,6 +292,8 @@ public class ImportKeysListFragment extends ListFragment implements } else if (error instanceof Keyserver.TooManyResponsesException) { AppMsg.makeText(getActivity(), R.string.error_keyserver_too_many_responses, AppMsg.STYLE_ALERT).show(); + } else if (error instanceof Keyserver.QueryException) { + Log.d(Constants.TAG, "Key server query failed: " + error.getLocalizedMessage()); } break;