diff --git a/app/Services/Handlers/TypeV2Handler.php b/app/Services/Handlers/TypeV2Handler.php index afa57dd..457e442 100644 --- a/app/Services/Handlers/TypeV2Handler.php +++ b/app/Services/Handlers/TypeV2Handler.php @@ -93,12 +93,14 @@ class TypeV2Handler // 기사 정보 추가 저장 $articleInfoEtcParam['vr_sq'] = $vrSq; if (!$this->articleInfoEtcModel->replace($articleInfoEtcParam)) { + CLI::write(CLI::color('❌ ArticleInfoEtc 저장 실패 :: ' . json_encode($articleInfoEtcParam), 'red')); throw new Exception("ArticleInfoEtc Insert 실패: " . json_encode($this->db->error())); } CLI::write(CLI::color('✅ ArticleInfoEtc 저장 성공', 'blue')); // 수정 정보 입력 (있으면 update, 없으면 insert) if (!$this->modifyInfoModel->saveModifyInfo($vrSq, $modifyInfoParam)) { + CLI::write(CLI::color('❌ ModifyInfo 저장 실패 :: ' . json_encode($modifyInfoParam), 'red')); throw new Exception("ModifyInfo 저장 실패: " . json_encode($this->db->error() . "sql: " . $this->modifyInfoModel->getLastQuery())); } CLI::write(CLI::color('✅ ModifyInfo 저장 성공', 'blue'));