Searched hist:"260 f75a6430080b671e1cf64b6505b711ba9c136" (Results 1 – 1 of 1) sorted by relevance
/openbmc/pldm/tools/visualize-pdr/ |
H A D | pldm_visualise_pdrs.py | diff 260f75a6430080b671e1cf64b6505b711ba9c136 Fri Oct 15 11:10:29 CDT 2021 Brad Bishop <bradleyb@fuzziesquirrel.com> pldm_visualise_pdrs.py: add some error handling
If pldmtool exits with non-zero status it will likely cause a json decoder error to be thrown because it didn't write anything to stdout. This is misleading, so check the pldmtool exit status before attempting to read the json document it prints.
Change-Id: I8e6d1008a054bc6ed0699f051fb537be8785c863 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|