Commit ee1c7c4
authored
worker: Improve job failure error logging (#8121)
`anyhow` by default only returns the top-most error when formatted via `Display`. The alternate formatting (`:#`) instructs it to return the full error chain instead. Unfortunately `tracing` does not support alternate formatting yet, so we have to call `format!()` manually.1 parent 814bed4 commit ee1c7c4
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
97 | | - | |
| 98 | + | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| |||
0 commit comments