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

Better error message.

This commit is contained in:
Cedric Beust 2016-07-07 02:30:46 -08:00
parent 99c57a5865
commit b471c1eb2b

View file

@ -50,7 +50,7 @@ class JvmCompiler @Inject constructor(val dependencyManager: DependencyManager)
private fun validateClasspath(cp: List<String>) { private fun validateClasspath(cp: List<String>) {
cp.forEach { cp.forEach {
if (! File(it).exists()) { if (! File(it).exists()) {
throw KobaltException("Couldn't find $it") throw KobaltException("Invalid classpath: couldn't find $it")
} }
} }
} }