Skip to content

Commit 5c7b8e6

Browse files
author
Federico Fissore
committed
Don't stop downloading package*index.json files if ONE fails for whatever reason. Fixes #3906
1 parent 417857e commit 5c7b8e6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

arduino-core/src/cc/arduino/contributions/packages/ContributionInstaller.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,11 @@ public synchronized List<String> updateIndex(ProgressListener progressListener)
282282
}
283283

284284
for (String packageIndexURL : packageIndexURLs) {
285-
downloadIndexAndSignature(progress, downloadedPackageIndexFilesAccumulator, packageIndexURL, progressListener);
285+
try {
286+
downloadIndexAndSignature(progress, downloadedPackageIndexFilesAccumulator, packageIndexURL, progressListener);
287+
} catch (Exception e) {
288+
System.err.println(e.getMessage());
289+
}
286290
}
287291

288292
progress.stepDone();

0 commit comments

Comments
 (0)