Skip to content

Wrong error messages capitalization #2047

Closed
@Bikappa

Description

@Bikappa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions