chore(executor/sandbox): debug log pbRet size

This commit is contained in:
张泊明518370910136 2025-04-29 20:22:57 -04:00
parent 7b85513007
commit 16fcd645f3
GPG Key ID: D47306D7062CDA9D

View File

@ -40,6 +40,7 @@ func (e *Sandbox) Run(cmds []stage.Cmd) ([]stage.ExecutorResult, error) {
if err != nil {
return nil, err
}
slog.Debug("sandbox execute", "i", i, "pbRet size", proto.Size(pbRet))
if pbRet.Error != "" {
return nil, fmt.Errorf("sandbox execute error: %s", pbRet.Error)
}