mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
add finally
This commit is contained in:
1 parent
83efc7c152
commit
95f49559d0
1 file changed
+2
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user