adds additional information to run failed log

This commit is contained in:
Claire Kuang
2024-02-01 11:13:55 +00:00
parent b9059e1b85
commit 470b3d93de
@@ -208,7 +208,7 @@ static class AutomateFunction
if (addedList.Count + deletedList.Count + modifiedList.Count > 0)
{
automationContext.MarkRunFailed(
$"Run failed due to {addedList.Count} ADDED, {modifiedList.Count} MODIFIED, and {deletedList.Count} DELETED objects compared to the release commit."
$"Run failed due to {addedList.Count} ADDED, {modifiedList.Count} MODIFIED, and {deletedList.Count} DELETED objects compared to the release commit ({unchangedCount} objects were unchanged)."
);
addedList.ForEach(