fix: include exc_info in log_task_progress debug message

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-17 11:41:56 +00:00
parent 13a3c41482
commit 886bcd3c9b
+3 -1
View File
@@ -140,4 +140,6 @@ def log_task_progress(
db.commit()
except Exception:
# Database errors in logging should never crash the calling task
logging.getLogger(__name__).debug(f"Failed to log task progress to database: {step_name} - {status}")
logging.getLogger(__name__).debug(
f"Failed to log task progress to database: {step_name} - {status}", exc_info=True
)