This commit is contained in:
2025-12-31 00:19:28 +08:00
parent 59042c0110
commit eeb925b5b9
5 changed files with 139 additions and 125 deletions
+3 -1
View File
@@ -82,7 +82,9 @@ class Task
$response = call_user_func([$handler, 'process'], $task_id, $src_worker_id);
} catch (\Throwable $throwable) {
$response = throwable($throwable);
\Kiri::getLogger()->json_log($throwable, ['task_id' => $task_id, 'src_worker_id' => $src_worker_id, 'data' => $data]);
$response = throwable($throwable);
} finally {
$server->finish($response);
}