Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
silvanocerza opened this issue Jul 26, 2021 · 1 comment · May be fixed by #1367
Closed

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

silvanocerza opened this issue Jul 26, 2021 · 1 comment · May be fixed by #1367
Assignees
Labels
type: imperfection Perceived defect in any part of project

Comments

@silvanocerza
Copy link
Contributor

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.

@silvanocerza
Copy link
Contributor Author

Closed by #1506.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants