Skip to content

Commit

Permalink
Add some line breaks in the upgrade error message
Browse files Browse the repository at this point in the history
  • Loading branch information
hinerm committed Nov 21, 2024
1 parent eb47248 commit 7bad8c7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/java/net/imagej/ui/swing/updater/LauncherMigrator.java
Original file line number Diff line number Diff line change
Expand Up @@ -368,14 +368,14 @@ private void switchToNewLauncher() {
if (log != null) {
Path cfgPath = appDir.toPath().resolve(
Paths.get("config", "jaunch", appSlug + ".cfg"));
log.warn("Congratulations on upgrading Java. Unfortunately, " +
log.warn("Congratulations on upgrading Java.\n\tUnfortunately, " +
"the Java version chosen by the new launcher after the upgrade " +
"is " + nljv + ", which is still less than the recommended Java " +
"version of " + Java.recommendedVersion() + ". This should not " +
"be the case of course; it seems to be a bug. Would you please " +
"visit https://forum.image.sc/ and report this problem? Click " +
"version of " + Java.recommendedVersion() + ".\n\tThis should not " +
"be the case of course; it seems to be a bug.\n\tWould you please " +
"visit https://forum.image.sc/ and report this problem?\n\tClick " +
"'New Topic', choose 'Usage & Issues' category, and use tag '" +
appSlug + "'. To fix it locally for now, you can try editing the " +
appSlug + "'.\n\tTo fix it locally for now, you can try editing the " +
cfgPath + " file by hand to point to a newer Java installation.");
}
return;
Expand Down

0 comments on commit 7bad8c7

Please sign in to comment.