Skip to content

Commit

Permalink
update :: 에러 로그에 id추가 및 name -> username
Browse files Browse the repository at this point in the history
  • Loading branch information
KimTaeO committed Oct 21, 2023
1 parent 749aa99 commit 5bd7912
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class StudentActivityServiceImpl(
val user = userUtil.queryCurrentUser()

val student = studentRepository.findByUser(user)
?: throw StudentNotFoundException("학생을 찾을 수 없습니다. info : [ name = ${user.name} ]")
?: throw StudentNotFoundException("학생을 찾을 수 없습니다. info : [ id = ${user.id}, username = ${user.name} ]")

val studentActivity = studentActivityRepository.findByIdAndStudent(id, student)
?: throw StudentActivityNotFoundException("학생 활동을 찾을 수 없습니다. info : [ id = $id ]")
Expand Down

0 comments on commit 5bd7912

Please sign in to comment.