Skip to content

Commit

Permalink
[Java] Print exception and message.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyazelenko committed Sep 21, 2024
1 parent 43be7b7 commit 0fb2596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aeron-client/src/main/java/io/aeron/Aeron.java
Original file line number Diff line number Diff line change
Expand Up @@ -1953,7 +1953,7 @@ private static MappedByteBuffer waitForFileMapping(

private static String cncFileErrorMessage(final File file, final Exception ex)
{
return "cannot open CnC file: " + file.getAbsolutePath() + " reason=" + ex.getMessage();
return "cannot open CnC file: " + file.getAbsolutePath() + " reason=" + ex;
}
}
}

0 comments on commit 0fb2596

Please sign in to comment.