Commit 6419623
authored
Fix bad error checking in build error handling logic (#3358)
The legacy BuildError and BuildFailure models are treated as if they're
derived from the same parent class in the build handler, but there's no
guarantee that the fields the build handler attempts to access actually
exist on a particular object. This PR resolves a critical issue
introduced by #3320 which causes
failures when parsing builds with old style build errors.1 parent de30fed commit 6419623
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
| 454 | + | |
458 | 455 | | |
459 | 456 | | |
460 | 457 | | |
| |||
0 commit comments