``` logger.error("invalid statusCo...
# kotlin-fuel
n
Copy code
logger.error("invalid statusCode {} from {}", response.statusCode, url.encoded)
                logger.error("connection url: ${request.url}")
                logger.error("cUrl: ${request.cUrlString()}")
                logger.error("response: $response")
                logger.error("error: {}", result.error.toString())
                logger.error(result.error.exception) { "Download Failed" }
gives me this output:
Copy code
invalid statusCode -1 from <http://files.mcupdater.com/MCU-FastPack-latest.jar>
connection url: <http://files.mcupdater.com/MCU-FastPack-latest.jar>
cUrl: curl -i -H "If-None-Match:"10f43e5-5802152ceb7c1"" <http://files.mcupdater.com/MCU-FastPack-latest.jar>
response: <-- -1 http://.
Response : 
Length : 0
Body : (empty)
Headers : (0)

error: com.github.kittinunf.fuel.core.BubbleFuelError: HTTP Exception 304 Not Modified
com.github.kittinunf.fuel.core.FuelError$Companion.wrap(FuelError.k:84)
com.github.kittinunf.fuel.core.FuelError$Companion.wrap$default(FuelError.kt:83)	com.github.kittinunf.fuel.core.DeserializableKt$awaitResponseResult$3.invoke(Deserializable.kt:252)	com.github.kittinunf.fuel.core.DeserializableKt$awaitResponseResult$3.invoke(Deserializable.kt)
com.github.kittinunf.result.ResultKt.mapError(Result.kt:42)
com.github.kittinunf.fuel.core.DeserializableKt.awaitResponseResult(Deserializable.kt:252)