combine updates, cache arrangements

This commit is contained in:
Will McGugan
2022-05-30 16:03:10 +01:00
parent c1ad9c5365
commit 55543479ad
4 changed files with 40 additions and 19 deletions

View File

@@ -274,7 +274,11 @@ class MessagePump:
for _cls, method in self._get_dispatch_methods(
"on_idle", event
):
await invoke(method, event)
try:
await invoke(method, event)
except Exception as error:
self.app.on_exception(error)
break
log("CLOSED", self)