Skip to content

[Service Bus] Error from message handler should surface up#1233

Merged
ramya-rao-a merged 4 commits intoAzure:masterfrom
ramya-rao-a:streaming-error
Feb 16, 2019
Merged

[Service Bus] Error from message handler should surface up#1233
ramya-rao-a merged 4 commits intoAzure:masterfrom
ramya-rao-a:streaming-error

Conversation

@ramya-rao-a
Copy link
Contributor

We had previously updated the non session streaming receiver to call the user's error handler when user's onMessage handler throws error. See c94d82b

We missed out on doing the same for the session scenario which resulted in #1190 where we saw that when session lock was lost, then user's message handler could throw an error, but that never surfaced.

This PR is to surface such errors.

@ghost ghost added the in progress label Feb 14, 2019
Copy link
Member

@ramya0820 ramya0820 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, verified manually that this works.

@ramya-rao-a
Copy link
Contributor Author

@ramya0820 FYI
7c30590 are the corresponding tests

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