Fail quietly when updating projects with broken URLs instead of logging

This commit is contained in:
Alex Cabal 2025-03-15 14:18:48 -05:00
parent ba22538659
commit ceccd1431e

View file

@ -33,16 +33,20 @@ foreach($projects as $project){
try{
$project->FetchLastCommitTimestamp($apiKey);
}
catch(Exceptions\AppException $ex){
Log::WriteErrorLogEntry($ex->getMessage());
// 404, continue.
}
if($project->IsStatusAutomaticallyUpdated){
// Check if this project is in review.
if($project->Status == Enums\ProjectStatusType::InProgress){
$project->FetchReviewStatus();
try{
$project->FetchReviewStatus();
}
catch(Exceptions\AppException){
// 404, continue.
}
}
if(