Skip to content

Wrong error messages capitalization #2047

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

Closed
3 tasks done
Bikappa opened this issue Jan 23, 2023 · 1 comment · Fixed by #2048
Closed
3 tasks done

Wrong error messages capitalization #2047

Bikappa opened this issue Jan 23, 2023 · 1 comment · Fixed by #2048
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@Bikappa
Copy link
Contributor

Bikappa commented Jan 23, 2023

Describe the problem

The error message prompted when listing libraries of a missing platform has wrong capitalization
The error message in terminal should use lower case letters: "error": "Error listing Libraries: Unknown FQBN: platform arduino:samd is not installed" should be "error": "Error listing libraries: Unknown FQBN: platform arduino:samd is not installed"

To reproduce

Make sure the candidate platform, samd in the example, is not installed
One option is to remove them all

rm -rf ~/Library/Arduino15

Issue a command to list the libraries of a board

arduino-cli lib list --fqbn arduino:samd:xyz

Observe the error message with weird capitalization

Error listing Libraries: Unknown FQBN: platform arduino:samd is not installed

Expected behavior

The error message should be

Error listing libraries: Unknown FQBN: platform arduino:samd is not installed

Arduino CLI version

git commit a58d5ad

Operating system

MacOS

Operating system version

13.1 (22C65)

Additional context

Possibly other messages should be checked and eventually improved

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the nightly build
  • My report contains all necessary details
@Bikappa Bikappa added type: imperfection Perceived defect in any part of project topic: CLI Related to the command line interface topic: gRPC Related to the gRPC interface labels Jan 23, 2023
@cushonz
Copy link
Contributor

cushonz commented Jan 24, 2023

@per1234 per1234 added topic: code Related to content of the project itself and removed topic: CLI Related to the command line interface topic: gRPC Related to the gRPC interface labels Jan 24, 2023
@per1234 per1234 linked a pull request Jan 24, 2023 that will close this issue
5 tasks
@per1234 per1234 added the conclusion: resolved Issue was resolved label Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants