Fix YAML merge key error message

Print the YAML struct as debug text if emitting it fails.
This commit is contained in:
Oliver Hamlet
2025-04-28 20:40:37 +01:00
parent 0fb4624e58
commit 011d67fef8
+1 -1
View File
@@ -341,7 +341,7 @@ impl YamlMergeKeyError {
yaml = yaml.split_off(index);
}
} else {
yaml = format!("{yaml:?}");
yaml = format!("{unmarked_yaml:?}");
}
YamlMergeKeyError {