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

Syntax fix.

This commit is contained in:
Erik C. Thauvin 2017-11-03 13:15:15 -07:00
parent a1aa6d8eea
commit a431f4850b

View file

@ -106,7 +106,7 @@ class BintrayApi @Inject constructor(val http: Http,
val result = service.createPackage(org ?: username!!, buildPackageInfo(project, config))
.execute()
if (result.errorBody() != null) {
throw KobaltException("Error while creating package:\n" + result.errorBody())
throw KobaltException("Error while creating package:\n" + result.errorBody()!!.string())
}
}
}