diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-05-09 09:57:51 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-05-09 09:57:51 +0200 |
| commit | 65a44e22ba217ef7272b9d3735e9d12cfaa204f6 (patch) | |
| tree | 3b88984491a6ca26a688c31adaf7e80134e3a30f /pkg/bisect | |
| parent | e8d62d0c21fa78504c492a1418b84cb2477e06fa (diff) | |
pkg/build: find maintainers for build errors
Extract build error source file and obtain maintainers
so that we can mail the report to the right people.
Update #1667
Diffstat (limited to 'pkg/bisect')
| -rw-r--r-- | pkg/bisect/bisect.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/bisect/bisect.go b/pkg/bisect/bisect.go index 84756cb56..1ea8a9738 100644 --- a/pkg/bisect/bisect.go +++ b/pkg/bisect/bisect.go @@ -380,8 +380,8 @@ func (env *env) test() (*testResult, error) { if verr, ok := err.(*osutil.VerboseError); ok { env.log("%v", verr.Title) env.saveDebugFile(current.Hash, 0, verr.Output) - } else if verr, ok := err.(build.KernelBuildError); ok { - env.log("%v", verr.Title) + } else if verr, ok := err.(*build.KernelError); ok { + env.log("%s", verr.Report) env.saveDebugFile(current.Hash, 0, verr.Output) } else { env.log("%v", err) |
