debug collector: use sdbus++ for exception files
Log sbusplus exceptions instead of phosphor-logging
error exceptions.
For metadata use manually generated elog-errors.hpp this
is to cater for building repositories without depending
on phosphor-logging
Resolves openbmc/openbmc#1469
Change-Id: I9789edd80f3477eeb66b93dff6e12a95e89a0005
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
diff --git a/checkstop_app.cpp b/checkstop_app.cpp
index f3a044b..a67499e 100644
--- a/checkstop_app.cpp
+++ b/checkstop_app.cpp
@@ -1,10 +1,11 @@
#include <phosphor-logging/elog.hpp>
#include "elog-errors.hpp"
+#include "org/open_power/Host/error.hpp"
int main(int argc, char* argv[])
{
using namespace phosphor::logging;
- using error = org::open_power::Host::Checkstop;
+ using error = sdbusplus::org::open_power::Host::Error::Checkstop;
report<error>();
return 0;