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:
Jake Barnby
2026-05-19 18:28:20 +12:00
committed by GitHub
parent c28f476462
commit 948c702ad4
@@ -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;
}