Commit 113eaca
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: 4329212831 parent b1bf9d6 commit 113eaca
1 file changed
Lines changed: 5 additions & 1 deletion
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
60 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
61 | 65 | | |
62 | 66 | | |
0 commit comments