diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/AddressSpaceApplier.cs b/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/AddressSpaceApplier.cs index c577ad77..8439636b 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/AddressSpaceApplier.cs +++ b/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/AddressSpaceApplier.cs @@ -246,10 +246,12 @@ public sealed class AddressSpaceApplier _ = dispatch.ContinueWith( t => { - if (t.IsFaulted) + if (!t.IsCompletedSuccessfully) { + // Faulted OR canceled — never reach t.Result (which would re-throw and + // leave this discarded continuation unobserved). _logger.LogWarning(t.Exception?.GetBaseException(), - "AddressSpaceApplier: historian provisioning of {Count} tag(s) faulted; deploy unaffected", provisionCount); + "AddressSpaceApplier: historian provisioning of {Count} tag(s) did not complete; deploy unaffected", provisionCount); return; }