From 20172cffcbafd30e7b3ab387ac0c023cfe666831 Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Wed, 18 Feb 2026 10:14:01 -0500 Subject: [PATCH] log stdout/stderr from unsandbox container on exit_code!=0 --- make_post_sell/lib/karaoke.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/make_post_sell/lib/karaoke.py b/make_post_sell/lib/karaoke.py index 7ba867b..eb2fed3 100644 --- a/make_post_sell/lib/karaoke.py +++ b/make_post_sell/lib/karaoke.py @@ -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