Skip to content

Commit

Permalink
Log exception
Browse files Browse the repository at this point in the history
  • Loading branch information
marci4 committed Dec 31, 2024
1 parent e2065f3 commit 0cce180
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public void run() {
}
}
} catch (Exception e) {
fail("There should be no exception");
fail("There should be no exception", e);
}
}
});
Expand Down Expand Up @@ -278,7 +278,7 @@ public void onError(Exception ex) {
finalThread.join();

if (!threadReturned[0]) {
fail("Error");
fail("Error. Thread did not yet return");
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,7 @@ public void run() {
}
}
} catch (Exception e) {
e.printStackTrace();
fail("There should be no exception");
fail("There should be no exception", e);
}
}
});
Expand Down

0 comments on commit 0cce180

Please sign in to comment.