diff --git a/src/libcamera/yaml_parser.cpp b/src/libcamera/yaml_parser.cpp index 84cffd0d..d8a7c2f9 100644 --- a/src/libcamera/yaml_parser.cpp +++ b/src/libcamera/yaml_parser.cpp @@ -841,7 +841,9 @@ std::unique_ptr YamlParser::parse(File &file) std::unique_ptr root(new YamlObject()); if (context.parseContent(*root)) { - LOG(YamlParser, Error) << "Failed to parse YAML content"; + LOG(YamlParser, Error) + << "Failed to parse YAML content from " + << file.fileName(); return nullptr; }