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

[5.1] Do not hide BulkTransferException messages when there were more than one exception #14986

Commits on Mar 7, 2022

  1. Do not hide BulkTransferException messages when there were more than …

    …one exception
    
    Previously, when there were more than one BulkTransferException, it
    would be reported like this:
    
    ```
    Executing genrule //:foo failed: Exec failed due to IOException: 221 errors during bulk transfer
    ```
    
    which didn't include the underlying exception messages. The only case
    that underlying exceptions were included was when there was only one
    exception.
    
    This change patches the error message to include all the exception
    messages, which helps diagnose BulkTransferException.
    
    Closes bazelbuild#14981.
    
    PiperOrigin-RevId: 432921283
    (cherry picked from commit 113eaca)
    thii authored and brentleyjones committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    58facb9 View commit details
    Browse the repository at this point in the history