Skip to content

Commit bdf3a7e

Browse files
committed
fix the error + output case
1 parent fefb59e commit bdf3a7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/container/dockerclient.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func (d *dockerClient) ExecuteCode(ctx context.Context, code *Code) (string, err
175175

176176
output := stdoutBuf.String()
177177
if stderrBuf.Len() > 0 {
178-
output += "\n" + stderrBuf.String()
178+
output = output + "\nReceived error while executing the code: " + stderrBuf.String()
179179
}
180180

181181
return output, nil

0 commit comments

Comments
 (0)