Skip to content

Commit 02af799

Browse files
committed
add a warning
1 parent 7cb1de5 commit 02af799

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/board/board.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ func FromFQBN(ctx context.Context, fqbn string) ([]Board, error) {
192192
if name, err := GetCustomName(ctx, conn); err == nil {
193193
customName = name
194194
}
195+
} else {
196+
slog.Warn("failed to get custom name", "serial", serial, "error", err)
195197
}
196198

197199
boards = append(boards, Board{

0 commit comments

Comments
 (0)