mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Better log.
This commit is contained in:
parent
2d2ede3656
commit
c414840ffa
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue