diff --git a/app/common/logic/task/TaskLogic.php b/app/common/logic/task/TaskLogic.php index 4a1a9cb6c..c25bd99e9 100644 --- a/app/common/logic/task/TaskLogic.php +++ b/app/common/logic/task/TaskLogic.php @@ -182,7 +182,7 @@ class TaskLogic extends BaseLogic TaskTemplate::where('id', $v['id'])->inc('day_count')->update(); return true; } catch (\Exception $e) { - Log::error('定时任务添加失败', [$e->getMessage()]); + Log::error('定时任务添加失败'.$e->getMessage().'line'.$e->getLine()); return false; } }