Skip to content
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

Merged
merged 4 commits into from
Nov 1, 2024

Conversation

hershyYJ
Copy link
Contributor

Todo

  • Add container execution status to response
  • Update error response structure for container execution status

Note

@hershyYJ hershyYJ requested a review from whitem4rk October 30, 2024 07:04
@hershyYJ hershyYJ self-assigned this Oct 30, 2024
@hershyYJ hershyYJ changed the base branch from main to develop October 30, 2024 07:04
Copy link
Contributor

@whitem4rk whitem4rk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

에러 처리는 잘 된 것 같아요. 혹시 테스트도 해보셨나요??

Comment on lines 105 to 108
} catch (CustomException e) {
throw e;
} catch (Exception e) {
throw new CustomException(ErrorCode.SAVE_FAILED);
throw new CustomException(ErrorCode.SAVE_FAILED, e);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 코드의 의도를 조금만 설명해주세요

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

지웠어야 하는 코드인데 지워지지 않은 것 같습니다 삭제하도록 하겠습니다

Comment on lines 215 to 218
containerResult.put("status", "success");
containerResult.put("message", "Container started successfully.");
} catch (Exception e) {
containerResult.put("status", "failed");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

리터럴은 오타 방지를 위해 변수로 관리바랍니다.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수정하도록 하겠습니다

@hershyYJ
Copy link
Contributor Author

hershyYJ commented Nov 1, 2024

테스트가 에러 처리에 대한 테스트일까요? 에러 처리에 대한 테스트는 진행했습니다

@whitem4rk
Copy link
Contributor

테스트가 에러 처리에 대한 테스트일까요? 에러 처리에 대한 테스트는 진행했습니다

네 좋습니다. 수정하시고 바로 머지하셔도 될것같아요~

@hershyYJ hershyYJ merged commit 5e6a35c into Team-Goraebab:develop Nov 1, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants