From 470b3d93de0d8807b53b78d2feef2f55a90858dc Mon Sep 17 00:00:00 2001 From: Claire Kuang Date: Thu, 1 Feb 2024 11:13:55 +0000 Subject: [PATCH] adds additional information to run failed log --- SpeckleAutomateDotnetExample/AutomateFunction.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpeckleAutomateDotnetExample/AutomateFunction.cs b/SpeckleAutomateDotnetExample/AutomateFunction.cs index 274a3ad..4fb61f3 100644 --- a/SpeckleAutomateDotnetExample/AutomateFunction.cs +++ b/SpeckleAutomateDotnetExample/AutomateFunction.cs @@ -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(