mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-11 03:25:05 -05:00
fixed error message
This commit is contained in:
parent
52f1f30846
commit
54b7b0e522
@ -144,7 +144,8 @@ public class KeybaseKeyserver extends Keyserver {
|
|||||||
try {
|
try {
|
||||||
JSONObject json = new JSONObject(text);
|
JSONObject json = new JSONObject(text);
|
||||||
if (JWalk.getInt(json, "status", "code") != 0) {
|
if (JWalk.getInt(json, "status", "code") != 0) {
|
||||||
throw new QueryFailedException("Keybase autocomplete search failed");
|
throw new QueryFailedException("Keybase.io query failed: " + path + "?" +
|
||||||
|
query);
|
||||||
}
|
}
|
||||||
return json;
|
return json;
|
||||||
} catch (JSONException e) {
|
} catch (JSONException e) {
|
||||||
|
@ -18,8 +18,8 @@
|
|||||||
package org.sufficientlysecure.keychain.ui;
|
package org.sufficientlysecure.keychain.ui;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.support.v4.app.Fragment;
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
import android.support.v4.app.Fragment;
|
||||||
import android.view.KeyEvent;
|
import android.view.KeyEvent;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
@ -31,9 +31,7 @@ import android.widget.TextView;
|
|||||||
|
|
||||||
import com.beardedhen.androidbootstrap.BootstrapButton;
|
import com.beardedhen.androidbootstrap.BootstrapButton;
|
||||||
|
|
||||||
import org.sufficientlysecure.keychain.Constants;
|
|
||||||
import org.sufficientlysecure.keychain.R;
|
import org.sufficientlysecure.keychain.R;
|
||||||
import org.sufficientlysecure.keychain.util.Log;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Import public keys from the Keybase.io directory. First cut: just raw search.
|
* Import public keys from the Keybase.io directory. First cut: just raw search.
|
||||||
|
Loading…
Reference in New Issue
Block a user