Browse Source

Reformat.

pull/927/head
Sebastian 4 years ago
parent
commit
d9bdde6e71
  1. 6
      backend/src/Squidex.Domain.Apps.Entities/Rules/RuleEnqueuer.cs

6
backend/src/Squidex.Domain.Apps.Entities/Rules/RuleEnqueuer.cs

@ -67,10 +67,8 @@ namespace Squidex.Domain.Apps.Entities.Rules
// We do not want to handle disabled rules in the normal flow. // We do not want to handle disabled rules in the normal flow.
if (job.Job != null && job.SkipReason is SkipReason.None or SkipReason.Failed) if (job.Job != null && job.SkipReason is SkipReason.None or SkipReason.Failed)
{ {
log.LogInformation("Adding rule job {jobId} for Rule(action={ruleAction}, trigger={ruleTrigger})", log.LogInformation("Adding rule job {jobId} for Rule(action={ruleAction}, trigger={ruleTrigger})", job.Job.Id,
job.Job.Id, rule.Action.GetType().Name, rule.Trigger.GetType().Name);
rule.Action.GetType().Name,
rule.Trigger.GetType().Name);
await ruleEventRepository.EnqueueAsync(job.Job, job.EnrichmentError); await ruleEventRepository.EnqueueAsync(job.Job, job.EnrichmentError);
} }

Loading…
Cancel
Save