1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Better log.

This commit is contained in:
Cedric Beust 2015-11-14 06:25:51 -08:00
parent 2d2ede3656
commit c414840ffa
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@ public class Http {
.post(CountingFileRequestBody(file.file(), file.mimeType(), progressCallback))
.build()
log(1, "Uploading $file to $url")
log(2, "Uploading $file to $url")
val response = OkHttpClient().newCall(request).execute()
if (! response.isSuccessful) {
error(response)

View file

@ -61,7 +61,7 @@ public class GithubApi @Inject constructor(val executors: KobaltExecutors,
}
.toBlocking()
.forEach { action ->
log(1, "\nRelease successfully uploaded ${zipFile.name}")
log(1, "\n${zipFile.name} successfully uploaded")
}
} catch(e: RetrofitError) {
val error = parseRetrofitError(e)