print more errors now
authorjesse <mr.bossman075@gmail.com>
Wed, 21 Oct 2020 19:08:26 +0000 (15:08 -0400)
committerjesse <mr.bossman075@gmail.com>
Wed, 21 Oct 2020 19:08:26 +0000 (15:08 -0400)
app/src/main/java/com/verus/miner/MainActivity.java

index 4b03f6e9521944d3ef4a27b96df039a6558338b9..7fd1886e42913dfd4ca42a20cb59af94e1096a09 100644 (file)
@@ -104,7 +104,7 @@ public class MainActivity extends AppCompatActivity {
                 LOGAll = LOGAll.substring(LOGAll.indexOf('\n') + (LOGAll.split("\n").length - 100));
             }
             if (miner.errors != null) {
                 LOGAll = LOGAll.substring(LOGAll.indexOf('\n') + (LOGAll.split("\n").length - 100));
             }
             if (miner.errors != null) {
-                LOG += miner.errors;
+                LOG += miner.errors + miner.error() + miner.output();
                 miner.stop();
                 if(text.getScrollY() == text.getLayout().getLineTop(text.getLineCount()) - text.getHeight()){
                     text.setText(LOG);
                 miner.stop();
                 if(text.getScrollY() == text.getLayout().getLineTop(text.getLineCount()) - text.getHeight()){
                     text.setText(LOG);
@@ -113,9 +113,10 @@ public class MainActivity extends AppCompatActivity {
                     text.setText(LOG);
                 }
                 Log.e("test",LOG);
                     text.setText(LOG);
                 }
                 Log.e("test",LOG);
-            } else if (!miner.error().isEmpty()) {
+            }
+            if (!miner.error().isEmpty()) {
+                LOG += miner.error() + miner.output();
                 miner.stop();
                 miner.stop();
-                LOG += miner.error();
                 if(text.getScrollY() == text.getLayout().getLineTop(text.getLineCount()) - text.getHeight()){
                     text.setText(LOG);
                     text.scrollTo(0, text.getLayout().getLineTop(text.getLineCount()) - text.getHeight());
                 if(text.getScrollY() == text.getLayout().getLineTop(text.getLineCount()) - text.getHeight()){
                     text.setText(LOG);
                     text.scrollTo(0, text.getLayout().getLineTop(text.getLineCount()) - text.getHeight());
This page took 0.030389 seconds and 4 git commands to generate.