From 184eabae50b3fd9a9a359d18e7bb548422d69751 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Thu, 3 Dec 2015 21:35:44 -0800 Subject: [PATCH] Warn, don't throw. --- src/main/kotlin/com/beust/kobalt/misc/LocalProperties.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/beust/kobalt/misc/LocalProperties.kt b/src/main/kotlin/com/beust/kobalt/misc/LocalProperties.kt index 182fe42a..9210bc7f 100644 --- a/src/main/kotlin/com/beust/kobalt/misc/LocalProperties.kt +++ b/src/main/kotlin/com/beust/kobalt/misc/LocalProperties.kt @@ -13,7 +13,7 @@ class LocalProperties { val result = Properties() val filePath = Paths.get("local.properties") if (! Files.exists(filePath)) { - throw KobaltException("Couldn't find a local.properties file", docUrl = docUrl) + warn("Couldn't find a local.properties file") } filePath.let { path ->