Browse Source

Test: PityTest print the full stacktrace please

android-nettle-update
heck 5 months ago
parent
commit
71aee755f2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      test/java/foundation/pEp/pitytest/TestUnit.java

+ 2
- 1
test/java/foundation/pEp/pitytest/TestUnit.java View File

@ -192,7 +192,8 @@ public class TestUnit<T extends TestContextInterface> implements Runnable {
TestUtils.standardOutErrEnabled(true);
logH1(makeLogString());
if (result == TestState.FAILED || state == TestState.CTX_FAIL) {
log("ERROR: " + getLastException().toString());
getLastException().printStackTrace();
// log("ERROR: " + getLastException().toString());
}
if (verboseMode) logRaw("\n\n");
TestUtils.standardOutErrEnabled(verboseMode);


Loading…
Cancel
Save