mirror of
https://github.com/home-assistant/core.git
synced 2026-04-20 08:29:39 +02:00
Improve error logging for protected topic subscription in ntfy integration (#152244)
This commit is contained in:
@@ -106,7 +106,10 @@ class NtfyEventEntity(NtfyBaseEntity, EventEntity):
|
||||
return
|
||||
except NtfyForbiddenError:
|
||||
if self._attr_available:
|
||||
_LOGGER.error("Failed to subscribe to topic. Topic is protected")
|
||||
_LOGGER.error(
|
||||
"Failed to subscribe to topic %s. Topic is protected",
|
||||
self.topic,
|
||||
)
|
||||
self._attr_available = False
|
||||
ir.async_create_issue(
|
||||
self.hass,
|
||||
|
||||
Reference in New Issue
Block a user