We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48c5c49 commit abd5cbdCopy full SHA for abd5cbd
src/com/potomushto/statik/processors/FrontmatterParser.kt
@@ -19,7 +19,8 @@ internal object FrontmatterParser {
19
if (yamlContent.isBlank()) return emptyMap()
20
val loaded = try {
21
yaml.load<Any?>(yamlContent)
22
- } catch (_: Exception) {
+ } catch (e: Exception) {
23
+ System.err.println("YAML parsing error: ${e.message}")
24
return emptyMap()
25
}
26
val root = loaded as? Map<*, *> ?: return emptyMap()
0 commit comments