mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +00:00
Add a name to the background service call tasks (#91252)
This commit is contained in:
parent
0916701a0b
commit
237faf62ac
@ -1876,7 +1876,10 @@ class ServiceRegistry:
|
|||||||
except Exception: # pylint: disable=broad-except
|
except Exception: # pylint: disable=broad-except
|
||||||
_LOGGER.exception("Error executing service: %s", service_call)
|
_LOGGER.exception("Error executing service: %s", service_call)
|
||||||
|
|
||||||
self._hass.async_create_task(catch_exceptions())
|
self._hass.async_create_task(
|
||||||
|
catch_exceptions(),
|
||||||
|
f"service call background {service_call.domain}.{service_call.service}",
|
||||||
|
)
|
||||||
|
|
||||||
async def _execute_service(
|
async def _execute_service(
|
||||||
self, handler: Service, service_call: ServiceCall
|
self, handler: Service, service_call: ServiceCall
|
||||||
|
Loading…
x
Reference in New Issue
Block a user