mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
add finally
This commit is contained in:
parent
83efc7c152
commit
95f49559d0
1 changed files with 2 additions and 0 deletions
|
|
@ -206,6 +206,8 @@ class StatsResources extends Action
|
|||
$this->writeDocuments($dbForLogs, $project);
|
||||
} catch (Throwable $th) {
|
||||
call_user_func_array($this->logError, [$th, "StatsResources", "count_for_project_{$project->getId()}"]);
|
||||
} finally {
|
||||
$this->documents = [];
|
||||
}
|
||||
|
||||
Console::info('End of count for: ' . $project->getId());
|
||||
|
|
|
|||
Loading…
Reference in a new issue