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

PN532TokenProvider: Raise CommunicationFault instead of throwing exception #879

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

hikinggrass
Copy link
Contributor

Describe your changes

This replaces the exception that is thrown during initialization of the PN532TokenProvider if the serial port could not be accessed with an error.

TODO: Integration with Auth and/or EvseManager error handling. How do we want to handle this, do we want to perform periodic retries? If this error happens the module is non-functional afterwards

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • I read the contribution documentation and made sure that my changes meet its requirements

@barsnick barsnick changed the title Raise CommunicationFault instead of throwing exception PN532TokenProvider: Raise CommunicationFault instead of throwing exception Sep 25, 2024
@corneliusclaussen corneliusclaussen added the include-in-release Tag that this PR should be included in the current merge window for the upcoming release if possible label Oct 1, 2024
@corneliusclaussen corneliusclaussen merged commit 5d87bd9 into main Oct 2, 2024
10 checks passed
@corneliusclaussen corneliusclaussen deleted the feature/pn532-error-handling branch October 2, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
include-in-release Tag that this PR should be included in the current merge window for the upcoming release if possible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants