修复报错

This commit is contained in:
mkm 2023-09-06 10:04:21 +08:00
parent e095e297ec
commit 942613d0cf

View File

@ -182,7 +182,7 @@ class TaskLogic extends BaseLogic
TaskTemplate::where('id', $v['id'])->inc('day_count')->update(); TaskTemplate::where('id', $v['id'])->inc('day_count')->update();
return true; return true;
} catch (\Exception $e) { } catch (\Exception $e) {
Log::error('定时任务添加失败', [$e->getMessage()]); Log::error('定时任务添加失败'.$e->getMessage().'line'.$e->getLine());
return false; return false;
} }
} }