Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util-core: Return suppressed exception information in Closable.sequence
Problem Closable.sequence returns the first failed Future[Unit] result of closing the Closables, and in the case of multiple failures, the subsequent exceptions are lost. Solution Add the subsequent failures to the list of suppressed exceptions attached to the first failed Future[Unit] result. Result Users will be able to see all failures in the case that there are multiple failures in Closable.sequence. JIRA Issues: CSL-11522 Differential Revision: https://phabricator.twitter.biz/D809561
- Loading branch information
1 parent
cdf573e
commit 2211f75
Showing
3 changed files
with
25 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters