Add error handling for message parsing

Some of the signals we try and parse for error logs are not structured
in the format we expect when parsing. When error logging is enabled in
sdbusplus this causes the phosphor-dump-manager to crash. Fix this
crashing by logging errors and ignoring the bad signals.

Change-Id: Ieadcb7e95f622005382f3c4957bf1535e3bb1ef9
Signed-off-by: William A. Kennington III <wak@google.com>
2 files changed
tree: a63036c347152bfb4f4055ceb441c9fd4587a98c
  1. tools/
  2. xyz/
  3. .gitignore
  4. bootstrap.sh
  5. configure.ac
  6. core_manager.cpp
  7. core_manager.hpp
  8. core_manager_main.cpp
  9. dump_entry.cpp
  10. dump_entry.hpp
  11. dump_internal.hpp
  12. dump_manager.cpp
  13. dump_manager.hpp
  14. dump_manager_main.cpp
  15. dump_serialize.cpp
  16. dump_serialize.hpp
  17. dump_utils.hpp
  18. elog_watch.cpp
  19. elog_watch.hpp
  20. ffdc
  21. LICENSE
  22. MAINTAINERS
  23. Makefile.am
  24. README.md
  25. watch.cpp
  26. watch.hpp
README.md

phosphor-debug-collector

Phosphor Debug Collector provides mechanisms to collect various log files and system parameters. Used to troubleshoot problems in OpenBMC based systems.

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To clean the repository run `./bootstrap.sh clean`.