Skip to content

Commit 31467b6

Browse files
committed
Do not fail with errors in case of cloud-api is not available
1 parent 334e845 commit 31467b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: commands/board/list.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ func identify(pme *packagemanager.Explorer, port *discovery.Port) ([]*rpc.BoardL
173173
// the board couldn't be detected, print a warning
174174
logrus.Debug("Board not recognized")
175175
} else if err != nil {
176-
// this is bad, bail out
177-
return nil, &arduino.UnavailableError{Message: tr("Error getting board info from Arduino Cloud")}
176+
// this is bad, but keep going
177+
logrus.WithError(err).Debug("Error querying builder API")
178178
}
179179

180180
// add a DetectedPort entry in any case: the `Boards` field will

0 commit comments

Comments
 (0)