[MIN-301] 出席 API のロギングとエラーハンドリングの改善、および Swagger ドキュメントの修正 #329
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🔍 このPRで解決したい問題は何ですか?
GetAllAttendances
エンドポイントにアクセスしたときの500エラーと、GetAttendanceByID
メソッドで出席情報が見つからない場合の処理が問題となっていました。✨ このPRで主に変わったことは何ですか?
GetAllAttendances
メソッドおよび他の出席関連メソッドに詳細なロギングを追加し、デバッグと監視を強化しました。GetAttendanceByID
メソッドで出席情報が見つからない場合、404エラーを正しく処理するようにエラーハンドリングを改善しました。🔖 主な変更点以外に追加で変更された部分はありますか?
🙏🏻 Reviewerに特に見ていただきたい部分はありますか?
GetAttendanceByID
メソッドでの404エラーの処理に注目していただきたいです。また、Swagger ドキュメントの修正が正確であるかも確認してください。🩺 このPRでテストや検証が必要な部分はありますか?
GetAllAttendances
メソッドおよびGetAttendanceByID
メソッドの動作を確認するためのテストが必要です。特に、存在しない出席情報を要求した際に404エラーが正しく返されるかどうかを検証してください。📚 関連するIssueやJira、ドキュメント
🖥 作動する様子
📌 PRを行う際の注意点