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

[DLASE] Catch all async calls #399

Merged
merged 2 commits into from
Apr 5, 2023
Merged

[DLASE] Catch all async calls #399

merged 2 commits into from
Apr 5, 2023

Conversation

compulim
Copy link
Collaborator

@compulim compulim commented Apr 5, 2023

Description

All calls to async functions must be caught and rethrow when needed.

Otherwise, if the rejection is not handled and control is back to Node.js event loop, it will throw unhandledRejection and terminate the process.

Changelog

Fixed

  • Fixed #398. In DirectLineStreaming, all calls to async function should be caught and rethrow appropriately, by @compulim in PR #399

@compulim compulim requested a review from a team as a code owner April 5, 2023 21:13
@compulim compulim changed the title Catch all async calls [DLASE] Catch all async calls Apr 5, 2023
@compulim compulim merged commit fb239fe into master Apr 5, 2023
@compulim compulim deleted the fix-async-calls branch April 5, 2023 22:30
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.

DirectLineStreaming: unhandled rejection from connectWithRetryAsync in activity$
2 participants