Skip to content

Commit 0d2f736

Browse files
authored
fix(cmd): Fix showing the error message in DumpError (#2212)
Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.io> Approved-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.io>
2 parents 738a364 + 6e37ada commit 0d2f736

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/e2e/framework/cmd/cmd.go

+3
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ func (c *Cmd) DumpError(stdoutio, stderrio *IOStream, err error) string {
111111
}
112112
}
113113

114+
builder.WriteString("\nerr: ")
115+
builder.WriteString(err.Error())
116+
114117
return builder.String()
115118
}
116119

0 commit comments

Comments
 (0)