summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/config/ConfigManager.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/config/ConfigManager.kt b/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/config/ConfigManager.kt
index 35d19a3..58b1df2 100644
--- a/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/config/ConfigManager.kt
+++ b/platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/config/ConfigManager.kt
@@ -158,7 +158,8 @@ class ConfigManager(
document = remaining
} catch (e: Exception) {
// A serializer can fail without kaml turning it into a YamlException, and there is
- // no path to prune a single setting by without one.
+ // no path to prune a single setting by without one. No config.yml reaches this -
+ // only a serializer bug does - so it is deliberately left without a test.
return ParseOutcome.Undecodable(UNREADABLE, e)
}
}