src.ctf.fs: improve `metadata-info` query error message with non-existent metadata...
[babeltrace.git] / src / plugins / ctf / fs-src / query.cpp
index af11bef51f70180e12e30a7bfec3bebc38f4fe09..2f51f7098a9d86315111431066dcf8ac36f0aacf 100644 (file)
@@ -87,7 +87,7 @@ metadata_info_query(bt_self_component_class_source *self_comp_class_src, const b
     path = bt_value_string_get(path_value);
 
     BT_ASSERT(path);
-    metadata_fp = ctf_fs_metadata_open_file(path);
+    metadata_fp = ctf_fs_metadata_open_file(path, log_level, self_comp_class);
     if (!metadata_fp) {
         BT_COMP_CLASS_LOGE_APPEND_CAUSE(self_comp_class, "Cannot open trace metadata: path=\"%s\".",
                                         path);
This page took 0.023505 seconds and 4 git commands to generate.