You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varchanges=tracker.DiscoveredChanges??thrownewInvalidOperationException("Trigger discovery process has not yet started. Please ensure that TriggerSession.DiscoverChanges() or TriggerSession.RaiseBeforeSaveTriggers() has been called");
_logger.LogDebug("Discovered {triggers} triggers of type {openTriggerType}",triggerInvocations.Count(),openTriggerType);
63
+
}
59
64
60
-
triggerInvocations=triggerInvocations.ToList();
61
-
_logger.LogDebug("Discovered {triggers} triggers of type {openTriggerType}",triggerInvocations.Count(),openTriggerType);
62
-
}
65
+
foreach(vartriggerInvocationintriggerInvocations)
66
+
{
67
+
cancellationToken.ThrowIfCancellationRequested();
63
68
64
-
foreach(vartriggerInvocationintriggerInvocations)
65
-
{
66
-
cancellationToken.ThrowIfCancellationRequested();
69
+
if(_logger.IsEnabled(LogLevel.Information))
70
+
{
71
+
_logger.LogInformation("Invoking trigger: {trigger} as {triggerType}",triggerInvocation.triggerDescriptor.GetType().Name,triggerInvocation.triggerDescriptor.TypeDescriptor.TriggerType.Name);
72
+
}
67
73
68
-
if(_logger.IsEnabled(LogLevel.Information))
69
-
{
70
-
_logger.LogInformation("Invoking trigger: {trigger} as {triggerType}",triggerInvocation.triggerDescriptor.GetType().Name,triggerInvocation.triggerDescriptor.TypeDescriptor.TriggerType.Name);
0 commit comments