From: Lanius Trolling Date: Fri, 15 Mar 2024 18:47:41 +0000 (-0400) Subject: Replace warning with error X-Git-Url: https://gitweb.starshipfights.net/?a=commitdiff_plain;h=c170ef89d6f8e1f40c86f197baa1197df980a2a3;p=factbooks Replace warning with error --- diff --git a/src/jvmMain/kotlin/info/mechyrdia/lore/preparser.kt b/src/jvmMain/kotlin/info/mechyrdia/lore/preparser.kt index bfd9548..e5cf35a 100644 --- a/src/jvmMain/kotlin/info/mechyrdia/lore/preparser.kt +++ b/src/jvmMain/kotlin/info/mechyrdia/lore/preparser.kt @@ -24,7 +24,7 @@ object PreParser { template.evaluate(writer, context) return writer.toString() } catch (ex: PebbleException) { - application.log.warn("Runtime error pre-parsing factbook $name", ex) + application.log.error("Runtime error pre-parsing factbook $name", ex) "[h1]Error[/h1]\n\nThere was a runtime error pre-parsing this factbook: ${ex.message}" } }