Skip to content

Commit

Permalink
fix the error + output case
Browse files Browse the repository at this point in the history
  • Loading branch information
srujangit123 committed Dec 26, 2024
1 parent fefb59e commit bdf3a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/container/dockerclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (d *dockerClient) ExecuteCode(ctx context.Context, code *Code) (string, err

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

return output, nil
Expand Down

0 comments on commit bdf3a7e

Please sign in to comment.