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 panic when discovery doesn't send an ok message after a command #1569

Merged
merged 1 commit into from
Nov 25, 2021

Conversation

silvanocerza
Copy link
Contributor

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • What kind of change does this PR introduce?

Bug fixing.

  • What is the current behavior?

If the user has installed a core that comes with a pluggable discovery that doesn't send an ok message after a discovery command is received the arduino-cli might panic when running some commands.

  • What is the new behavior?

The arduino-cli doesn't panic anymore but just logs the error if a discovery doesn't send an ok message after receiving a discovery command.

Nope.

  • Other information:

None.


See how to contribute

@silvanocerza silvanocerza added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Nov 25, 2021
@silvanocerza silvanocerza self-assigned this Nov 25, 2021
@silvanocerza silvanocerza merged commit df27d56 into master Nov 25, 2021
@silvanocerza silvanocerza deleted the scerza/fix-discoveries-panic branch November 25, 2021 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants