diff --git a/src/AppBundle/Consumer/SyncVersions.php b/src/AppBundle/Consumer/SyncVersions.php index bdaf521b..e0fa6be9 100644 --- a/src/AppBundle/Consumer/SyncVersions.php +++ b/src/AppBundle/Consumer/SyncVersions.php @@ -162,7 +162,9 @@ private function doSyncVersions(Repo $repo) $newRelease['message'] = $this->client->api('markdown')->render($newRelease['message'], 'gfm', $repo->getFullName()); } catch (\Exception $e) { $this->logger->warning('Failed to parse markdown: ' . $e->getMessage() . ''); - continue; + + // it is usually a problem from the abuse detection mechanism, to avoid multiple call, we just skip to the next repo + return $newVersion; } }