Skip to content

Commit

Permalink
Issue rh-messaging#494: Report System.exit stacktrace when it gets ca…
Browse files Browse the repository at this point in the history
…lled
  • Loading branch information
jiridanek committed Jan 2, 2023
1 parent efb0894 commit 942be3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/test/kotlin/testing.kt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ fun assertNoSystemExit(executable: () -> Unit) {
executable()

} catch (e: SystemExitingWithStatus) {
fail("System.exit has been called")
fail("System.exit has been called", e)
} finally {
System.setSecurityManager(previousManager)
}
Expand Down

0 comments on commit 942be3e

Please sign in to comment.