diff --git a/src/Appwrite/Platform/Workers/StatsResources.php b/src/Appwrite/Platform/Workers/StatsResources.php index f56813a6d9..91cf3a1246 100644 --- a/src/Appwrite/Platform/Workers/StatsResources.php +++ b/src/Appwrite/Platform/Workers/StatsResources.php @@ -84,7 +84,7 @@ class StatsResources extends Action try { $this->writeGauges($getLogsDB, $project, $statsResources->gauges); } catch (Throwable $th) { - call_user_func($this->logError, $th); + call_user_func_array($this->logError, [$th, "StatsResources", "write_gauges_{$project->getId()}"]); } return;