diff --git a/src/galaxy/api/plugin.py b/src/galaxy/api/plugin.py index 39152e6..f8cdc61 100644 --- a/src/galaxy/api/plugin.py +++ b/src/galaxy/api/plugin.py @@ -208,7 +208,10 @@ class Plugin: def _initialize_cache(self, data: Dict): self._persistent_cache = data - self.handshake_complete() + try: + self.handshake_complete() + except Exception: + logging.exception("Unhandled exception during `handshake_complete` step") self._pass_control_task = asyncio.create_task(self._pass_control()) @staticmethod