From 9600c5c873a3500dab8f86cb970d10edaa2f789f Mon Sep 17 00:00:00 2001 From: Stas Date: Fri, 21 Oct 2022 08:32:57 -0700 Subject: [PATCH] fix exception message formatting (#2546) Co-authored-by: stas --- src/ApiService/ApiService/onefuzzlib/VmssOperations.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ApiService/ApiService/onefuzzlib/VmssOperations.cs b/src/ApiService/ApiService/onefuzzlib/VmssOperations.cs index ed028b2d9..08d841042 100644 --- a/src/ApiService/ApiService/onefuzzlib/VmssOperations.cs +++ b/src/ApiService/ApiService/onefuzzlib/VmssOperations.cs @@ -515,7 +515,7 @@ public class VmssOperations : IVmssOperations { public async Async.Task DeleteNodes(Guid scalesetId, IReadOnlySet machineIds) { var result = await CheckCanUpdate(scalesetId); if (!result.IsOk) { - throw new Exception($"cannot delete nodes from scaleset {scalesetId:Tag:ScalesetId}: {result.ErrorV:Tag:Error}"); + throw new Exception($"cannot delete nodes from scaleset {scalesetId} : {result.ErrorV}"); } var instanceIds = new HashSet();