Add error info to dump on collection failures
There is a possibility that dump collection may fail due to hardware
procedure execution errors or other issues. Modified info.yaml to
store error information along with driver details in case of dump
collection failures.
Change-Id: I74c2fb8ebc31d1c3bd60feffa3f0467faa435d5c
Signed-off-by: Swetha Parasa <parasa.swetha1@ibm.com>
diff --git a/dump/tools/common/include/gendumpinfo b/dump/tools/common/include/gendumpinfo
index 5067ccf..5ccbea6 100644
--- a/dump/tools/common/include/gendumpinfo
+++ b/dump/tools/common/include/gendumpinfo
@@ -65,6 +65,7 @@
} >> "$YAML_FILE"
dump_time_details
get_addl_data
+ cat "$content_path/errorInfo" >> "$YAML_FILE"
}
# Run main