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

catch UnicodeException #100

Merged
merged 2 commits into from
Aug 30, 2023
Merged

catch UnicodeException #100

merged 2 commits into from
Aug 30, 2023

Conversation

MP91
Copy link
Contributor

@MP91 MP91 commented Aug 29, 2023

Describe your changes

If a non-utf8 character is received via mqtt, an exception was raised and the app crashed. This exception is now catched and the app will still work.

Fixes #97

Issue ticket number and link

Checklist - Manual tasks

  • Examples are executing successfully
  • Created/updated unit tests. Code Coverage percentage on new code shall be >= 80%.
  • Created/updated integration tests.
  • Devcontainer can be opened successfully
  • Devcontainer can be opened successfully behind a corporate proxy
  • Devcontainer can be re-built successfully
  • Extended the documentation (e.g. README.md, CONTRIBUTING.md, Velocitas)

@MP91 MP91 force-pushed the fix/UnicodeException branch from 7356557 to 819e578 Compare August 29, 2023 07:21
@MP91 MP91 force-pushed the fix/UnicodeException branch from cefe70b to 376a7a0 Compare August 30, 2023 08:57
Copy link
Contributor

@dennismeister93 dennismeister93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@MP91 MP91 merged commit 84e7cf2 into main Aug 30, 2023
@MP91 MP91 deleted the fix/UnicodeException branch August 30, 2023 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: SDK crashes in case of reading wrong characters from MQTT-broker
2 participants