Fix loop exception handler

This commit is contained in:
Paulus Schoutsen 2020-07-07 00:00:46 +00:00
parent d0668d3a6c
commit c47fd90eb3

View file

@ -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")