Skip to content

Commit

Permalink
TODO 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
easyhooon committed Nov 15, 2023
1 parent 8d677ca commit 043c64e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ internal class ChatRemoteDataSourceImpl @Inject constructor(
}
}

// TODO 에러 처리 보완
override suspend fun endChatSession(endChatRequest: EndChatRequest): EmotionResponse? {
// return safeRequest {
// service.endChatSession(endChatRequest)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import retrofit2.HttpException
import retrofit2.Response
import timber.log.Timber

// TODO inline keyword 를 붙히면 좋은 이유 정리
@Suppress("TooGenericExceptionCaught")
internal suspend fun <T> safeRequest(request: suspend () -> Response<T>): T? {
try {
Expand Down

0 comments on commit 043c64e

Please sign in to comment.