Drop Python 3.7 support (#43805)

This commit is contained in:
Franck Nijhof 2021-01-01 13:47:01 +01:00 committed by GitHub
parent b651f63ef0
commit 2f486543df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 36 deletions

View file

@ -34,8 +34,6 @@ class HomeAssistantQueueHandler(logging.handlers.QueueHandler):
"""Emit a log record."""
try:
self.enqueue(record)
except asyncio.CancelledError:
raise
except Exception: # pylint: disable=broad-except
self.handleError(record)