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

Fix unclear error message returned some times when using a wrong FQBN #1366

Copy link
Copy link
Closed
@silvanocerza

Description

@silvanocerza
Issue body actions

Bug Report

Current behavior

arduino-cli board details arduino:avr:una
Error getting board details: loading board data: board arduino:avr@1.8.3:una not found

When calling some commands that expect an FQBN the error returned is not clear if the board ID part of the FQBN doesn't exist for that platform.

Expected behavior

arduino-cli board details arduino:avr:una
Error getting board details: loading board data: board arduino:avr:una not found, did you mean arduino:avr:uno?
arduino-cli board details arduino:avr:una
Error getting board details: loading board data: board arduino:avr:una not found

A clearer error message should be shown, it would be cool if a suggestion could be made for the correct FQBN.

Environment

  • CLI version (output of arduino-cli version): arduino-cli alpha Version: 0.18.3 Commit: d710b642
  • OS and platform: doesn't matter

Additional context

None.

Metadata

Metadata

Assignees

Labels

type: imperfectionPerceived defect in any part of projectPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

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