Commit 61cfa1d
Do not hide BulkTransferException messages when there were more than one exception (bazelbuild#14986)
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)
Co-authored-by: Thi Doan <t@thi.im>1 parent b480480 commit 61cfa1d
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