Skip to content

Conversation

@gnodet
Copy link
Contributor

@gnodet gnodet commented Jun 4, 2025

JIRA issue: MNG-8767

When batch requests fail, individual exceptions are now added as suppressed
exceptions to preserve stack traces and error context for debugging.

  • Modify AbstractRequestCache.requests() to call addSuppressed() for each failed request
  • Add comprehensive test suite in AbstractRequestCacheTest to verify exception handling
  • Test covers batch failures, mixed success/failure, and successful batch scenarios

…Cache

When batch requests fail, individual exceptions are now added as suppressed
exceptions to preserve stack traces and error context for debugging.

- Modify AbstractRequestCache.requests() to call addSuppressed() for each failed request
- Add comprehensive test suite in AbstractRequestCacheTest to verify exception handling
- Test covers batch failures, mixed success/failure, and successful batch scenarios
@gnodet gnodet changed the title Add suppressed exceptions to BatchRequestException in AbstractRequestCache [MNG-8767] Add suppressed exceptions to BatchRequestException in AbstractRequestCache Jun 4, 2025
@gnodet gnodet added the bug Something isn't working label Jun 4, 2025
@gnodet gnodet added this to the 4.0.0-rc-4 milestone Jun 4, 2025
@gnodet gnodet merged commit 98479a3 into apache:master Jun 4, 2025
19 checks passed
@jira-importer
Copy link

Resolve #9342

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants