Skip to content

Commit 8749d60

Browse files
#1549: Adjusted download exception type (#1550)
Co-authored-by: Jörg Hohwiller <hohwille@users.noreply.github.com>
1 parent 51056a7 commit 8749d60

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

CHANGELOG.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
This file documents all notable changes to https://github.com/devonfw/IDEasy[IDEasy].
44

5+
== 2025.11.001
6+
7+
Release with new features and bugfixes:
8+
9+
* https://github.com/devonfw/IDEasy/issues/1549[#1549]: IDEasy omits error messages when a download fails
10+
11+
The full list of changes for this release can be found in https://github.com/devonfw/IDEasy/milestone/37?closed=1[milestone 2025.11.001].
12+
513
== 2025.10.002
614

715
Release with new features and bugfixes:

cli/src/main/java/com/devonfw/tools/ide/tool/repository/AbstractToolRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ private Path download(UrlDownloadFileMetadata metadata, Path target) {
127127
this.context.error(error, "Failed to download from " + url);
128128
}
129129
}
130-
throw new CliException("Download of " + target.getFileName() + " failed after trying " + size + " URL(s).", error);
130+
throw new IllegalStateException("Download of " + target.getFileName() + " failed after trying " + size + " URL(s).", error);
131131
}
132132

133133
/**

0 commit comments

Comments
 (0)