From ceccd1431e107f986285aa4d082f0d342ff3bf23 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Sat, 15 Mar 2025 14:18:48 -0500 Subject: [PATCH] Fail quietly when updating projects with broken URLs instead of logging --- scripts/update-project-statuses | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/update-project-statuses b/scripts/update-project-statuses index d05e6c51..193c4dc4 100755 --- a/scripts/update-project-statuses +++ b/scripts/update-project-statuses @@ -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(