Change field

This commit is contained in:
Duy Tran Khanh 2021-01-20 12:11:17 +07:00 committed by GitHub
parent fdd7dc348b
commit d1de01e24d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -303,8 +303,8 @@ public class Msa {
String errStr = Tools.read(conn.getErrorStream());
Log.i("MicroAuth","Error code: " + conn.getResponseCode() + ": " + conn.getResponseMessage() + "\n" + errStr);
if (errStream.contains("NOT_FOUND") &&
errStream.contains("The server has not found anything matching the request URI"))
if (errStr.contains("NOT_FOUND") &&
errStr.contains("The server has not found anything matching the request URI"))
{
otherErrStr = "Can't login a demo account!";
}