diff --git a/backend/src/Squidex.Infrastructure/Commands/Rebuilder.cs b/backend/src/Squidex.Infrastructure/Commands/Rebuilder.cs index 6d2fe3625..34fc891e9 100644 --- a/backend/src/Squidex.Infrastructure/Commands/Rebuilder.cs +++ b/backend/src/Squidex.Infrastructure/Commands/Rebuilder.cs @@ -167,7 +167,7 @@ namespace Squidex.Infrastructure.Commands var errorRate = (double)handlerErrors / handledIds.Count; - if (errorRate > 0 && errorRate >= errorThreshold) + if (errorRate > errorThreshold) { throw new InvalidOperationException($"Error rate of {errorRate} is above threshold {errorThreshold}."); }