mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 06:05:10 +02:00
Fix loop exception handler
This commit is contained in:
@@ -91,7 +91,7 @@ class HassEventLoopPolicy(PolicyBase):
|
|||||||
|
|
||||||
|
|
||||||
@callback
|
@callback
|
||||||
def _async_loop_exception_handler(self, _: Any, context: Dict) -> None:
|
def _async_loop_exception_handler(_: Any, context: Dict) -> None:
|
||||||
"""Handle all exception inside the core loop."""
|
"""Handle all exception inside the core loop."""
|
||||||
kwargs = {}
|
kwargs = {}
|
||||||
exception = context.get("exception")
|
exception = context.get("exception")
|
||||||
|
Reference in New Issue
Block a user