From 9e92e234ac6bbc8ba57c5f247bc0723cbaa99d2f Mon Sep 17 00:00:00 2001 From: Mourits de Beer <31511766+ff137@users.noreply.github.com> Date: Wed, 19 Jun 2024 18:10:10 +0200 Subject: [PATCH] :adhesive_bandage: add exception handling to wallet-upgrades-in-progress check (#3048) Signed-off-by: ff137 --- aries_cloudagent/core/conductor.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/aries_cloudagent/core/conductor.py b/aries_cloudagent/core/conductor.py index 9c60a32606..52a0b6a96b 100644 --- a/aries_cloudagent/core/conductor.py +++ b/aries_cloudagent/core/conductor.py @@ -519,7 +519,12 @@ async def start(self) -> None: except Exception: LOGGER.exception("Error accepting mediation invitation") - await self.check_for_wallet_upgrades_in_progress() + try: + await self.check_for_wallet_upgrades_in_progress() + except Exception: + LOGGER.exception( + "An exception was caught while checking for wallet upgrades in progress" + ) # notify protcols of startup status await self.root_profile.notify(STARTUP_EVENT_TOPIC, {})