mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 06:05:10 +02:00
Add a name to the background service call tasks (#91252)
This commit is contained in:
@@ -1876,7 +1876,10 @@ class ServiceRegistry:
|
||||
except Exception: # pylint: disable=broad-except
|
||||
_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(
|
||||
self, handler: Service, service_call: ServiceCall
|
||||
|
Reference in New Issue
Block a user