1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 16:28:12 -07:00
This commit is contained in:
Cedric Beust 2015-12-22 21:40:13 +04:00
parent 21eea1e94f
commit b3705eca80

View file

@ -137,7 +137,7 @@ public class GithubApi @Inject constructor(val executors: KobaltExecutors,
}
} catch(e: RetrofitError) {
val error = parseRetrofitError(e)
throw KobaltException("Couldn't retrieve releases, ${error.message}: "
throw KobaltException("Couldn't retrieve releases, ${error.message ?: e}: "
+ error.errors[0].code + " field: " + error.errors[0].field)
}
result