-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fixes FailChunkExecution does not handle DbExceptions
wrapped in an AggregateException
#6361
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
Conversation
? aggregateException.Flatten().InnerExceptions.OfType<DbException>().FirstOrDefault() | ||
?? aggregateException.Flatten().InnerExceptions[0] | ||
: message.Cause; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An alternative to this would be to stop throwing an AggregateException
in line #1003
… `AggregateException`
6ff06f3
to
de387c2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@ismaelhamed do we need to backport this to v1.4? |
Yes. We have a customer that is being impacted by this. |
@ismaelhamed we can do a deploy today if that'd help you |
That'd be great @Aaronontheweb |
If you can send the PR, I'll prepare the release notes and take care of that today. |
… `AggregateException` (akkadotnet#6361)
Fixes #6362