diff --git a/cli/src/main/java/com/devonfw/tools/ide/commandlet/AbstractUpdateCommandlet.java b/cli/src/main/java/com/devonfw/tools/ide/commandlet/AbstractUpdateCommandlet.java index 11ea7d4b0..83cbeebe2 100644 --- a/cli/src/main/java/com/devonfw/tools/ide/commandlet/AbstractUpdateCommandlet.java +++ b/cli/src/main/java/com/devonfw/tools/ide/commandlet/AbstractUpdateCommandlet.java @@ -166,7 +166,7 @@ private void updateSoftware() { try { toolCommandlet.install(false); } catch (Exception e) { - step.error("Installation of " + toolCommandlet.getName() + " failed!", e); + step.error(e, "Installation of {} failed!", toolCommandlet.getName()); } }