log stdout/stderr from unsandbox container on exit_code!=0
This commit is contained in:
parent
707c3f44b0
commit
20172cffcb
1 changed files with 3 additions and 2 deletions
|
|
@ -100,8 +100,9 @@ def process_karaoke(s3_client, bucket, s3_key, s3_path,
|
|||
return None
|
||||
|
||||
if not result.get("success") or result.get("exit_code") != 0:
|
||||
log.warning("Unsandbox execute non-zero exit: success=%s exit_code=%s",
|
||||
result.get("success"), result.get("exit_code"))
|
||||
log.warning("Unsandbox execute non-zero exit: success=%s exit_code=%s stdout=%.500s stderr=%.500s",
|
||||
result.get("success"), result.get("exit_code"),
|
||||
result.get("stdout", ""), result.get("stderr", ""))
|
||||
return None
|
||||
|
||||
# 5. Extract artifacts and upload to S3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue