Skip to content

Commit ad337d9

Browse files
authored
Merge pull request #211 from gitpod-io/aledbf/build-message
Improve error handling in build process
2 parents 8f57114 + 39ffbff commit ad337d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/leeway/reporter.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ func (r *ConsoleReporter) PackageBuildFinished(pkg *Package, rep *PackageBuildRe
216216
r.mu.Unlock()
217217

218218
var msg string
219-
if rep.Error != nil {
219+
if rep.Error != nil {
220220
msg = color.Sprintf("<red>package build failed while %sing</>\n<white>Reason:</> %s\n", rep.LastPhase(), rep.Error)
221221
} else {
222222
var coverage string

0 commit comments

Comments
 (0)