mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -81,7 +81,12 @@ class StatsResources extends Action
|
||||
$this->documents = [];
|
||||
|
||||
if ($statsResources->gauges !== []) {
|
||||
$this->writeGauges($getLogsDB, $project, $statsResources->gauges);
|
||||
try {
|
||||
$this->writeGauges($getLogsDB, $project, $statsResources->gauges);
|
||||
} catch (Throwable $th) {
|
||||
call_user_func($this->logError, $th);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user