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:
parent
99c57a5865
commit
b471c1eb2b
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue