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: Add catch blocks to prevent unhandled rejections #842

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

morgsmccauley
Copy link
Collaborator

Promises without rejection handlers, i.e. .catch or try catch, will throw "unhandled rejection" errors, which bubble up to the worker thread causing it to exit. This PR adds handlers to the various simultaneousPromises triggered within the Executor, to avoid the described.

@morgsmccauley morgsmccauley requested a review from a team as a code owner June 26, 2024 02:32
@morgsmccauley morgsmccauley linked an issue Jun 26, 2024 that may be closed by this pull request
@morgsmccauley morgsmccauley merged commit e3a835b into main Jun 27, 2024
3 checks passed
@morgsmccauley morgsmccauley deleted the fix/unhandled-rejections branch June 27, 2024 20:19
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.

Determine root cause to access_keys_v1 Indexer stopping
1 participant