-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature/#53] Add container execution status to response #59
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
에러 처리는 잘 된 것 같아요. 혹시 테스트도 해보셨나요??
} catch (CustomException e) { | ||
throw e; | ||
} catch (Exception e) { | ||
throw new CustomException(ErrorCode.SAVE_FAILED); | ||
throw new CustomException(ErrorCode.SAVE_FAILED, e); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 코드의 의도를 조금만 설명해주세요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
지웠어야 하는 코드인데 지워지지 않은 것 같습니다 삭제하도록 하겠습니다
containerResult.put("status", "success"); | ||
containerResult.put("message", "Container started successfully."); | ||
} catch (Exception e) { | ||
containerResult.put("status", "failed"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
리터럴은 오타 방지를 위해 변수로 관리바랍니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정하도록 하겠습니다
테스트가 에러 처리에 대한 테스트일까요? 에러 처리에 대한 테스트는 진행했습니다 |
네 좋습니다. 수정하시고 바로 머지하셔도 될것같아요~ |
Todo
Note