diff --git a/data/src/main/kotlin/ac/dnd/mour/android/data/remote/network/di/KtorModule.kt b/data/src/main/kotlin/ac/dnd/mour/android/data/remote/network/di/KtorModule.kt index fc569d05..14ad2a55 100644 --- a/data/src/main/kotlin/ac/dnd/mour/android/data/remote/network/di/KtorModule.kt +++ b/data/src/main/kotlin/ac/dnd/mour/android/data/remote/network/di/KtorModule.kt @@ -40,7 +40,7 @@ internal object KtorModule { ): HttpClient { return HttpClient(OkHttp) { // default validation to throw exceptions for non-2xx responses - expectSuccess = true + expectSuccess = false engine { if (debugInterceptor.isPresent) { @@ -68,7 +68,6 @@ internal object KtorModule { return HttpClient(OkHttp) { // default validation to throw exceptions for non-2xx responses - // TODO expectSuccess = false engine {