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

Better haptic failure recovery #1829

Merged
merged 2 commits into from
Mar 4, 2025
Merged

Better haptic failure recovery #1829

merged 2 commits into from
Mar 4, 2025

Conversation

EricBAndrews
Copy link
Member

Issues

Description

Adds some more sophisticated failure recovery to startEngine()--if the engine fails to start, the catch block now re-creates the engine from scratch. The initial error is now silent, but will show a haptic if developer mode is enabled. I also have a couple changes planned to make developer mode less obnoxious to daily drive, so if it pops up again it should be easy enough to spot.

This issue is insanely hard to reproduce, so I don't know if any of this will actually fix it.

@EricBAndrews EricBAndrews requested a review from a team as a code owner March 4, 2025 20:22
@EricBAndrews EricBAndrews requested review from Sjmarf and removed request for a team March 4, 2025 20:22
Copy link
Member

@Sjmarf Sjmarf left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@EricBAndrews EricBAndrews merged commit a96f56c into dev Mar 4, 2025
2 checks passed
@EricBAndrews EricBAndrews deleted the eric/haptic-error branch March 4, 2025 21:15
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.

2 participants