usage collections fix

This commit is contained in:
shimon committed 2023-07-12 16:02:42 +03:00
1 parent c656d8571a
commit d282dbf787
2 files changed
+42 -15

No files matched your search

+2 -1
View File
@@ -277,7 +277,8 @@ $server
]));
}
} catch (\Exception $e) {
console::error("[logger] " . " {DateTime::now()} " . " {$projectInternalId} " . " {$e->getMessage()}");
$now = DateTime::now();
console::error("[Error] " . " Time: {$now} " . " projectInternalId: {$projectInternalId}" . " File: {$e->getFile()}" . " Line: {$e->getLine()} " . " message: {$e->getMessage()}");
} finally {
$pools->reclaim();
}