From eff578bb360f70b90f43c9c12cb969f678b4828c Mon Sep 17 00:00:00 2001 From: shimon Date: Thu, 21 Dec 2023 14:07:24 +0200 Subject: [PATCH] metrics adjustments after and projectId additions --- src/Appwrite/Platform/Tasks/CalcTierStats.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Platform/Tasks/CalcTierStats.php b/src/Appwrite/Platform/Tasks/CalcTierStats.php index 81042036cb..69c2f97faa 100644 --- a/src/Appwrite/Platform/Tasks/CalcTierStats.php +++ b/src/Appwrite/Platform/Tasks/CalcTierStats.php @@ -360,8 +360,8 @@ class CalcTierStats extends Action } $counter++; } - } catch (\Throwable) { - ; + } catch (\Throwable $t) { + Console::error("Error while counting buckets: {$project->getId()}"); } $stats['Buckets'] = $counter; $stats['Files'] = $filesCount;