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

fix: prevent the heads promise from throwing #114

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

saul-jb
Copy link
Contributor

@saul-jb saul-jb commented Feb 12, 2024

This PR simply moves the deferred promise to the end of the method so that if any of the sync code throws an error (#113) it doesn't prevent the awaiting of the deferred promise.

@tabcat tabcat merged commit 0a0ecb7 into hldb:master Feb 13, 2024
3 checks passed
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.

2 participants