From ac2e7efb3ce3cb5c7abd1cf09be2748b39e7cfbc Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Thu, 26 Jan 2023 16:29:24 +0530 Subject: [PATCH] feat: linter fixes --- src/Appwrite/Platform/Tasks/Hamster.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Appwrite/Platform/Tasks/Hamster.php b/src/Appwrite/Platform/Tasks/Hamster.php index 650afa7f94..bc03c8d824 100644 --- a/src/Appwrite/Platform/Tasks/Hamster.php +++ b/src/Appwrite/Platform/Tasks/Hamster.php @@ -140,7 +140,7 @@ class Hamster extends Action } }); - return $stats; + return $stats; } public function action(Registry $register, Group $pools, Cache $cache, Database $dbForConsole): void @@ -174,7 +174,7 @@ class Hamster extends Action if ($project->getId() === 'console') { continue; } - + Console::info("Getting stats for {$project->getId()}"); try { @@ -190,7 +190,6 @@ class Hamster extends Action $statsPerProject = $this->getStats($dbForConsole, $dbForProject, $project); $csv->insertOne(array_values($statsPerProject)); - } catch (\Throwable $th) { throw $th; Console::error('Failed to update project ("' . $project->getId() . '") version with error: ' . $th->getMessage());