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 service name to error message to more easily pinpoint service nam… #22

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

slyoldfox
Copy link

…e clashes in HAP-nodejs

♻️ Current situation

It can get quite annoying to pinpoint which Service is causing Homebridge or HAP-nodejs to fail (in my case it was due to the same service being used in DEV as the service being used by my intercom).

💡 Proposed solution

Add the name of the service to the Error to more clearly reflect which Service needs to be reconfigured.

⚙️ Release Notes

Provide a summary of the changes or features from a user's point of view. If there are breaking changes, provide migration guides using code examples of the affected features.

➕ Additional Information

If applicable, provide additional context in this section.

Testing

Which tests were added? Which existing tests were adapted/changed? Which situations are covered, and what edge cases are missing?

Reviewer Nudging

Where should the reviewer start? what is a good entry point?

Copy link
Member

@Supereg Supereg left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution 🚀

@coveralls
Copy link

coveralls commented Jun 24, 2024

Pull Request Test Coverage Report for Build 9636221085

Details

  • 0 of 1 (0.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 82.665%

Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/Registry.js 0 1 0.0%
Totals Coverage Status
Change from base Build 8467700111: 0.0%
Covered Lines: 367
Relevant Lines: 405

💛 - Coveralls

@donavanbecker donavanbecker merged commit 89b0347 into homebridge:latest Jun 24, 2024
10 checks passed
donavanbecker added a commit that referenced this pull request Jun 24, 2024
## v3.7.3 (2024-06-24)

### Other Changes
- Add service name to error message to more easily pinpoint service name (#22) (@slyoldfox)
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.

5 participants