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

Sign up
Appearance settings

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

‎commands/board/list.go‎

Lines changed: 2 additions & 2 deletions
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-
returnnil, &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)

AltStyle によって変換されたページ (->オリジナル) /