오류 확인
This commit is contained in:
@@ -100,8 +100,12 @@ class TypeV2Handler
|
||||
|
||||
// 수정 정보 입력 (있으면 update, 없으면 insert)
|
||||
if (!$this->modifyInfoModel->saveModifyInfo($vrSq, $modifyInfoParam)) {
|
||||
foreach ( $modifyInfoParam as $key => $value ) {
|
||||
if (is_array($value)) {
|
||||
CLI::write(CLI::color(" $key : " . json_encode($value, JSON_UNESCAPED_UNICODE) , 'red'));
|
||||
}
|
||||
}
|
||||
CLI::write(CLI::color('❌ ModifyInfo 저장 실패 :: ' . json_encode($modifyInfoParam , JSON_UNESCAPED_UNICODE), 'red'));
|
||||
CLI::write(CLI::color('❌ ModifyInfo 저장 쿼리 :: ' . $this->modifyInfoModel->getLastQuery() , 'red'));
|
||||
throw new Exception("ModifyInfo 저장 실패: " . json_encode($this->db->error() . "sql: " . $this->modifyInfoModel->getLastQuery()));
|
||||
}
|
||||
CLI::write(CLI::color('✅ ModifyInfo 저장 성공', 'blue'));
|
||||
|
||||
Reference in New Issue
Block a user