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

Add error handling for MQTT proto file loading and improve logging #584

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SmolSoftBoi
Copy link

@SmolSoftBoi SmolSoftBoi commented Jan 15, 2025

This pull request includes updates to the README.md file and improvements to error handling in the MQTTService class. The most important changes are summarized below:

Documentation updates:

  • README.md: Added a "Quick Start" section with instructions for installing the eufy-security-client via npm and an example of how to import and use it in TypeScript.

Error handling improvements:

  • src/mqtt/service.ts: Added import for ensureError from the error module and updated the init method to include error handling for loading the MQTT proto lock file. [1] [2]

@SmolSoftBoi SmolSoftBoi marked this pull request as ready for review January 15, 2025 21:24
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.

1 participant