mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
NPE.
This commit is contained in:
parent
21eea1e94f
commit
b3705eca80
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ public class GithubApi @Inject constructor(val executors: KobaltExecutors,
|
||||||
}
|
}
|
||||||
} catch(e: RetrofitError) {
|
} catch(e: RetrofitError) {
|
||||||
val error = parseRetrofitError(e)
|
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)
|
+ error.errors[0].code + " field: " + error.errors[0].field)
|
||||||
}
|
}
|
||||||
result
|
result
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue