Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a8007b8

Browse filesBrowse files
Add instructions on how to contact the package manager to error message
1 parent 78bfa74 commit a8007b8
Copy full SHA for a8007b8

File tree

Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed

‎arduino/cores/packagemanager/download.go

Copy file name to clipboardExpand all lines: arduino/cores/packagemanager/download.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func (pme *Explorer) DownloadToolRelease(tool *cores.ToolRelease, config *downlo
125125
if resource == nil {
126126
return &arduino.FailedDownloadError{
127127
Message: tr("Error downloading tool %s", tool),
128-
Cause: errors.New(tr("no versions available for the current OS"))}
128+
Cause: errors.New(tr("no versions available for the current OS, try contacting %s", tool.Tool.Package.Email))}
129129
}
130130
return resource.Download(pme.DownloadDir, config, tool.String(), progressCB, "")
131131
}

‎arduino/cores/packagemanager/install_uninstall.go

Copy file name to clipboardExpand all lines: arduino/cores/packagemanager/install_uninstall.go
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,8 @@ func (pme *Explorer) InstallTool(toolRelease *cores.ToolRelease, taskCB rpc.Task
313313

314314
toolResource := toolRelease.GetCompatibleFlavour()
315315
if toolResource == nil {
316-
return fmt.Errorf(tr("no compatible version of %s tools found for the current os"), toolRelease.Tool.Name)
316+
return fmt.Errorf(tr("no compatible version of %s tools found for the current os, try contacting %s"),
317+
toolRelease.Tool.Name, toolRelease.Tool.Package.Email)
317318
}
318319
destDir := pme.PackagesDir.Join(
319320
toolRelease.Tool.Package.Name,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.