We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03b09ab commit fd1c4c4Copy full SHA for fd1c4c4
internal/arduino/cores/packagemanager/profiles.go
@@ -102,10 +102,6 @@ func (pmb *Builder) installMissingProfilePlatform(platformRef *sketch.ProfilePla
102
indexesToDownload = append(indexesToDownload, platformRef.PlatformIndexURL)
103
}
104
for _, indexURL := range indexesToDownload {
105
- if err != nil {
106
- taskCB(&rpc.TaskProgress{Name: tr("Error downloading %s", indexURL)})
107
- return &cmderrors.FailedDownloadError{Message: tr("Error downloading %s", indexURL), Cause: err}
108
- }
109
indexResource := resources.IndexResource{URL: indexURL}
110
if err := indexResource.Download(tmpPmb.IndexDir, downloadCB); err != nil {
111
taskCB(&rpc.TaskProgress{Name: tr("Error downloading %s", indexURL)})
0 commit comments