Skip to content

Commit

Permalink
Merge pull request #1569 from Odianosen25/dev
Browse files Browse the repository at this point in the history
Added outputting the app when warning of already registered app service
  • Loading branch information
Odianosen25 authored Sep 13, 2022
2 parents d497a2d + c1374a4 commit 551548e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appdaemon/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def register_service(
service_app = self.services[namespace][domain][service].get("__name")
if service_app and service_app != name:
self.logger.warning(
f"This service '{domain}/{service}' already registered to a different app '{service_app}'. Do deregister from app first"
f"This service '{domain}/{service}' already registered to a different app '{service_app}', and so cannot be registered to {name}. Do deregister from app first"
)
return

Expand Down

0 comments on commit 551548e

Please sign in to comment.