[BE] feature: 전체 예외 처리, 로그 처리 #98
Annotations
2 errors and 2 warnings
MemberServiceTest$getMemberProfile_테스트.존재하지 않는 사용자 정보를 조회하면 예외가 발생한다:
MemberServiceTest$getMemberProfile_테스트#L103
java.lang.AssertionError:
Expecting actual throwable to be an instance of:
java.lang.IllegalArgumentException
but was:
com.funeat.member.exception.MemberException$MemberNotFoundException: 존재하지 않는 회원입니다. 회원 id를 확인하세요.
at com.funeat.member.application.MemberService.lambda$getMemberProfile$2(MemberService.java:44)
at java.base/java.util.Optional.orElseThrow(Optional.java:408)
at com.funeat.member.application.MemberService.getMemberProfile(MemberService.java:44)
...(112 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)
|
test
Process completed with exit code 1.
|
존재하지 않는 사용자 정보를 조회하면 예외가 발생한다 (com.funeat.member.application.MemberServiceTest$getMemberProfile_테스트) failed:
com.funeat.member.application.MemberServiceTest$getMemberProfile_테스트#L0
backend/build/test-results/test/TEST-com.funeat.member.application.MemberServiceTest$getMemberProfile_#d14c#c2a4#d2b8.xml
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|