Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🩹 add exception handling to wallet-upgrade check #3048

Merged

Conversation

ff137
Copy link
Contributor

@ff137 ff137 commented Jun 19, 2024

Simple fix for non-critical issue.

Currently, if something goes wrong with the check_for_wallet_upgrades_in_progress method, then startup will be aborted. This PR just adds a try-except block, such that the exception is logged and startup can proceed.

Relates to #3030

Copy link

sonarcloud bot commented Jun 19, 2024

@jamshale
Copy link
Contributor

I'm still trying to wrap my head around how this problem is happening. But, this is an easy fix to get around the problem. Very unlikely the problem and this functionality would conflict. Especially for this upgrade which should happen in a few seconds maximum.

@jamshale jamshale merged commit 9e92e23 into hyperledger:main Jun 19, 2024
8 checks passed
@ff137 ff137 deleted the patch/check-wallet-upgrade-exception branch June 19, 2024 21:30
ff137 added a commit to ff137/aries-cloudagent-python that referenced this pull request Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants