Skip to content

Commit a3e0a48

Browse files
committed
Add some line breaks in the upgrade error message
1 parent 41c2647 commit a3e0a48

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/java/net/imagej/ui/swing/updater/LauncherMigrator.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -369,14 +369,14 @@ private void switchToNewLauncher() {
369369
if (log != null) {
370370
Path cfgPath = appDir.toPath().resolve(
371371
Paths.get("config", "jaunch", appSlug + ".cfg"));
372-
log.warn("Congratulations on upgrading Java. Unfortunately, " +
372+
log.warn("Congratulations on upgrading Java.\n\tUnfortunately, " +
373373
"the Java version chosen by the new launcher after the upgrade " +
374374
"is " + nljv + ", which is still less than the recommended Java " +
375-
"version of " + Java.recommendedVersion() + ". This should not " +
376-
"be the case of course; it seems to be a bug. Would you please " +
377-
"visit https://forum.image.sc/ and report this problem? Click " +
375+
"version of " + Java.recommendedVersion() + ".\n\tThis should not " +
376+
"be the case of course; it seems to be a bug.\n\tWould you please " +
377+
"visit https://forum.image.sc/ and report this problem?\n\tClick " +
378378
"'New Topic', choose 'Usage & Issues' category, and use tag '" +
379-
appSlug + "'. To fix it locally for now, you can try editing the " +
379+
appSlug + "'.\n\tTo fix it locally for now, you can try editing the " +
380380
cfgPath + " file by hand to point to a newer Java installation.");
381381
}
382382
return;

0 commit comments

Comments
 (0)