@@ -460,6 +460,7 @@ public AnalyticsReports GetAnalyticsReports(AnalyticsConfig config, DateTime mon
460460 Logger ? . LogWarning ( e , "GetAnalyticsReports(): SELECT RequestLog WHERE Id > {LastPk}: {Message}" ,
461461 lastPk , e . Message ) ;
462462 lastPk += config . BatchSize ; // avoid infinite loops
463+ continue ;
463464 }
464465
465466 foreach ( var requestLog in batch )
@@ -521,6 +522,7 @@ public AnalyticsReports GetApiAnalytics(AnalyticsConfig config, DateTime month,
521522 Logger ? . LogWarning ( e , "GetApiAnalytics(): SELECT RequestLog WHERE Id > {LastPk} AND OperationName = {Op}: {Message}" ,
522523 lastPk , op , e . Message ) ;
523524 lastPk += config . BatchSize ; // avoid infinite loops
525+ continue ;
524526 }
525527
526528 foreach ( var requestLog in batch )
@@ -594,6 +596,7 @@ public AnalyticsReports GetUserAnalytics(AnalyticsConfig config, DateTime month,
594596 Logger ? . LogWarning ( e , "GetUserAnalytics(): SELECT RequestLog WHERE Id > {LastPk} AND UserAuthId = {UserId}: {Message}" ,
595597 lastPk , userId , e . Message ) ;
596598 lastPk += config . BatchSize ; // avoid infinite loops
599+ continue ;
597600 }
598601
599602 foreach ( var requestLog in batch )
@@ -670,6 +673,7 @@ public AnalyticsReports GetApiKeyAnalytics(AnalyticsConfig config, DateTime mont
670673 Logger ? . LogWarning ( e , "GetApiKeyAnalytics(): SELECT RequestLog WHERE Id > {LastPk}: {Message}" ,
671674 lastPk , e . Message ) ;
672675 lastPk += config . BatchSize ; // avoid infinite loops
676+ continue ;
673677 }
674678
675679 foreach ( var requestLog in batch )
@@ -745,6 +749,7 @@ public AnalyticsReports GetIpAnalytics(AnalyticsConfig config, DateTime month, s
745749 Logger ? . LogWarning ( e , "GetIpAnalytics(): SELECT RequestLog WHERE Id > {LastPk} AND IpAddress = {Ip}: {Message}" ,
746750 lastPk , ip , e . Message ) ;
747751 lastPk += config . BatchSize ; // avoid infinite loops
752+ continue ;
748753 }
749754
750755 foreach ( var requestLog in batch )
0 commit comments