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

Ignore unhandled messages in DeviceLink #1162

Merged
merged 1 commit into from
Dec 27, 2023
Merged

Ignore unhandled messages in DeviceLink #1162

merged 1 commit into from
Dec 27, 2023

Conversation

jjcarstens
Copy link
Collaborator

Crashing DeviceLink could cause cascading problems. To fix that, this change ignores unhandled messages in handle_info and logs it

Copy link
Collaborator

@joshk joshk left a comment

Choose a reason for hiding this comment

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

It might be worth also sending the message to Sentry, but that can always come later.

Crashing DeviceLink could cause cascading problems. To fix that, this
change ignores unhandled messages in `handle_info` and logs it
@jjcarstens
Copy link
Collaborator Author

Tested with and without Sentry configured. As long as everyone is happy with the message, then we're 👍🏼

Copy link
Collaborator

@joshk joshk left a comment

Choose a reason for hiding this comment

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

Awesome!

@jjcarstens jjcarstens merged commit d62d828 into main Dec 27, 2023
2 checks passed
@jjcarstens jjcarstens deleted the device-link-catch branch December 27, 2023 21:07
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.

4 participants