Merge pull request #729 from Textualize/private-methods

private
This commit is contained in:
Will McGugan
2022-09-02 14:02:38 +01:00
committed by GitHub
6 changed files with 27 additions and 27 deletions

View File

@@ -327,7 +327,7 @@ class MessagePump(metaclass=MessagePumpMeta):
except CancelledError:
raise
except Exception as error:
self.app.on_exception(error)
self.app._handle_exception(error)
break
finally:
self._message_queue.task_done()
@@ -340,7 +340,7 @@ class MessagePump(metaclass=MessagePumpMeta):
try:
await invoke(method, event)
except Exception as error:
self.app.on_exception(error)
self.app._handle_exception(error)
break
log("CLOSED", self)