From e13abecd7f91855881325aa9231913f978383192 Mon Sep 17 00:00:00 2001 From: henry Date: Wed, 10 Jan 2018 23:07:30 -0400 Subject: [PATCH] faucet api logs --- .../apigenerator/BitsharesFaucetApiGenerator.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/cy/agorise/crystalwallet/apigenerator/BitsharesFaucetApiGenerator.java b/app/src/main/java/cy/agorise/crystalwallet/apigenerator/BitsharesFaucetApiGenerator.java index c203486..ec99d7c 100644 --- a/app/src/main/java/cy/agorise/crystalwallet/apigenerator/BitsharesFaucetApiGenerator.java +++ b/app/src/main/java/cy/agorise/crystalwallet/apigenerator/BitsharesFaucetApiGenerator.java @@ -1,9 +1,5 @@ package cy.agorise.crystalwallet.apigenerator; -import android.util.Log; -import android.view.View; -import android.widget.Toast; - import com.google.gson.Gson; import java.io.IOException; @@ -77,6 +73,7 @@ public abstract class BitsharesFaucetApiGenerator { @Override public void onResponse(Call call, Response response) { if (response.isSuccessful()) { + System.out.println("faucet answer " + response); RegisterAccountResponse resp = response.body(); if (resp.account != null) { try { @@ -86,6 +83,7 @@ public abstract class BitsharesFaucetApiGenerator { SYNC.notifyAll(); } }else{ + System.out.println("ERROR account name different" + resp.account.name); //ERROR synchronized (SYNC) { SYNC.notifyAll(); @@ -98,6 +96,7 @@ public abstract class BitsharesFaucetApiGenerator { } } }else{ + System.out.println("ERROR response doesn't have account " + response.message()); //ERROR synchronized (SYNC) { SYNC.notifyAll(); @@ -105,6 +104,7 @@ public abstract class BitsharesFaucetApiGenerator { } }else{ + System.out.println("ERROR fetching info"); //ERROR synchronized (SYNC) { SYNC.notifyAll();