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: catch "controller not ready" error in statistics event handler #1523

Merged
merged 1 commit into from
Aug 2, 2021

Conversation

AlCalzone
Copy link
Member

@AlCalzone AlCalzone commented Aug 2, 2021

For some reason, the controller no longer exists after its event handler is invoked.
I don't know why this happens. It should not, but it does and it bombs sentry with errors.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 1089793460

  • 0 of 7 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.01%) to 30.352%

Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/ZwaveClient.ts 0 7 0.0%
Totals Coverage Status
Change from base Build 1082175264: -0.01%
Covered Lines: 3612
Relevant Lines: 12506

💛 - Coveralls

Copy link
Member

@robertsLando robertsLando left a comment

Choose a reason for hiding this comment

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

🤷🏼‍♂️ LGTM

@robertsLando robertsLando merged commit d3125c1 into master Aug 2, 2021
@robertsLando robertsLando deleted the fix-statistics-crash branch August 2, 2021 13:29
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.

None yet

3 participants