Skip to content

Commit 7bbf2a2

Browse files
committed
Do not fail with errors in case of cloud-api is not available
1 parent c6146e0 commit 7bbf2a2

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
@@ -185,8 +185,8 @@ func identify(pme *packagemanager.Explorer, port *discovery.Port) ([]*rpc.BoardL
185185
// the board couldn't be detected, print a warning
186186
logrus.Debug("Board not recognized")
187187
} else if err != nil {
188-
// this is bad, bail out
189-
return nil, &arduino.UnavailableError{Message: tr("Error getting board info from Arduino Cloud")}
188+
// this is bad, but keep going
189+
logrus.WithError(err).Debug("Error querying builder API")
190190
}
191191

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

0 commit comments

Comments
 (0)