正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -72,7 +72,7 @@ class RankDataTask extends Command | @@ -72,7 +72,7 @@ class RankDataTask extends Command | ||
| 72 | echo 'success:' . $item['id'] . PHP_EOL; | 72 | echo 'success:' . $item['id'] . PHP_EOL; |
| 73 | }catch (\Exception $e){ | 73 | }catch (\Exception $e){ |
| 74 | echo 'error:' . $item['id'] . $e->getMessage() . PHP_EOL; | 74 | echo 'error:' . $item['id'] . $e->getMessage() . PHP_EOL; |
| 75 | - Log::channel('rank_data')->error('排名数据更新失败' . $e->getMessage(), $item); | 75 | + Log::channel('rank_data')->error('排名数据更新失败' . $e->getMessage(), $item->toArray()); |
| 76 | $this->retry($item, $e->getMessage()); | 76 | $this->retry($item, $e->getMessage()); |
| 77 | } | 77 | } |
| 78 | } | 78 | } |
-
请 注册 或 登录 后发表评论