Skip to content

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