Replace warning with error
authorLanius Trolling <lanius@laniustrolling.dev>
Fri, 15 Mar 2024 18:47:41 +0000 (14:47 -0400)
committerLanius Trolling <lanius@laniustrolling.dev>
Fri, 15 Mar 2024 18:47:41 +0000 (14:47 -0400)
src/jvmMain/kotlin/info/mechyrdia/lore/preparser.kt

index bfd95489104856ad7b0bf67ad0e6860e00ebee3f..e5cf35ab57eedf59b0c72e2a9cee77b0905c34ac 100644 (file)
@@ -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}"
                }
        }