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

Handle nested ProvisionedThroughputExceeded #363

Merged
merged 4 commits into from
Dec 21, 2022
Merged

Conversation

bartelink
Copy link
Collaborator

As a side effect of #361, ProvisionedThroughputExceededExceptions get nested:-

17:32:13 I Unhandled  {duration=00:00:00.3333882, events=9, stream="Loan-BC-I-00706146"}
System.AggregateException: One or more errors occurred. (One or more errors occurred. (The level of configured provisioned throughput for the table was exceeded. Consider increasing your provisioning level with the UpdateTable API.))
 ---> System.AggregateException: One or more errors occurred. (The level of configured provisioned throughput for the table was exceeded. Consider increasing your provisioning level with the UpdateTable API.)
 ---> Amazon.DynamoDBv2.Model.ProvisionedThroughputExceededException: The level of configured provisioned throughput for the table was exceeded. Consider increasing your provisioning level with the UpdateTable API.
 ---> Amazon.Runtime.Internal.HttpErrorResponseException: Exception of type 'Amazon.Runtime.Internal.HttpErrorResponseException' was thrown.
   at Amazon.Runtime.HttpWebRequestMessage.GetResponseAsync(CancellationToken cancellationToken)

This updates the active pattern to handle the way in manifests now (doubly nested inside an AggregateException)

@bartelink bartelink marked this pull request as ready for review December 12, 2022 17:40
@bartelink bartelink merged commit d409c3b into master Dec 21, 2022
@bartelink bartelink deleted the aggregateexns branch December 21, 2022 13:32
bartelink added a commit that referenced this pull request Dec 23, 2022
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.

1 participant