Merge branch '3.5.x'

Closes gh-48306
This commit is contained in:
Stéphane Nicoll
2025-11-26 16:02:42 +01:00
2 changed files with 2 additions and 2 deletions
@@ -244,7 +244,7 @@ public class CommandRunner implements Iterable<Command> {
if (ex instanceof CommandException commandException) {
options = commandException.getOptions();
if (options.contains(CommandException.Option.RETHROW)) {
throw (CommandException) ex;
throw commandException;
}
}
boolean couldNotShowMessage = false;