ES /docs

iSpring account creation failed: 400 Bad Request

Summary: iSpring account creation failed: 400 Bad Request

결과#

IspringOperation.create_user의 rescue 블록에 RestClient::Exception 전용 핸들러를 추가하여 iSpring API 응답 본문(거부 사유)이 로그에 기록되도록 수정했다. 동일 파일의 update_user_role, create_department 메서드에 이미 적용된 패턴과 동일한 구조를 적용했다.

Pull Requests#

Repo PR Branch
tesla #87277 feature/TSLA-12592

변경 내용#

  • tesla: app/operations/ispring_operation.rbcreate_user 메서드의 rescue StandardErrorrescue RestClient::Exception + rescue StandardError 두 단계로 분리. RestClient::Exception 발생 시 e.response&.bodyrequest_body를 로그에 포함.

Cleanup#

bash
cd $REPOS_DIR/tesla
git worktree remove /home/ec2-user/error-sweeper/.worktrees/ee8d60f2-368d-40c8-841e-de04b2c78328/tesla