From: Damyan Ivanov Date: Sat, 8 Dec 2018 17:21:56 +0000 (+0000) Subject: for some reason, on bad http auth data the stack throws NotFoundException X-Git-Tag: v0.3~283 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=c57269dfe8eeadd669a988ed7a40489aeb1c8764;p=mobile-ledger.git for some reason, on bad http auth data the stack throws NotFoundException --- diff --git a/app/src/main/java/net/ktnx/mobileledger/RetrieveAccountsTask.java b/app/src/main/java/net/ktnx/mobileledger/RetrieveAccountsTask.java index d90eda15..1beb048a 100644 --- a/app/src/main/java/net/ktnx/mobileledger/RetrieveAccountsTask.java +++ b/app/src/main/java/net/ktnx/mobileledger/RetrieveAccountsTask.java @@ -4,6 +4,7 @@ import android.content.SharedPreferences; import android.util.Log; import java.io.BufferedReader; +import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; @@ -130,7 +131,12 @@ abstract public class RetrieveAccountsTask extends android.os.AsyncTaskHide account Hide Show hidden accounts + Invalid username or password