mirror of
https://github.com/gogcom/galaxy-integrations-python-api.git
synced 2026-01-18 03:38:15 -05:00
Make 'handshake_complete' safe
This commit is contained in:
committed by
Romuald Bierbasz
parent
3bcc674518
commit
f4ea2af924
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user