Skip to content

Commit

Permalink
Add 'if any' to log message on ‘unsupported JavaFX config’
Browse files Browse the repository at this point in the history
The app shows a log message advising users to ignore the warning message
about the 'Unsupported JavaFX configuration' at the start.

However, this warning message might not appear under some circumstances.
In such cases, the advisory message can lead to confusion.

Let's add '(if any)' to the advisory log message, to reduce the risk
of such confusion.
  • Loading branch information
damithc committed Aug 8, 2024
1 parent 49859dc commit 2b1e60b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static void main(String[] args) {
// the user (if looking at the log output) that the said warning appearing in the log
// can be ignored.

logger.warning("The warning about Unsupported JavaFX configuration below can be ignored.");
logger.warning("The warning about Unsupported JavaFX configuration below (if any) can be ignored.");
Application.launch(MainApp.class, args);
}
}

0 comments on commit 2b1e60b

Please sign in to comment.