Skip to content

Commit

Permalink
🩹 add exception handling to wallet-upgrades-in-progress check (#3048)
Browse files Browse the repository at this point in the history
Signed-off-by: ff137 <ff137@proton.me>
  • Loading branch information
ff137 committed Jun 19, 2024
1 parent 10234e7 commit 9e92e23
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion aries_cloudagent/core/conductor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, {})
Expand Down

0 comments on commit 9e92e23

Please sign in to comment.