summaryrefslogtreecommitdiffstats
path: root/storageaddsel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storageaddsel.cpp')
-rw-r--r--storageaddsel.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/storageaddsel.cpp b/storageaddsel.cpp
index a1e25d2..b8b7a8d 100644
--- a/storageaddsel.cpp
+++ b/storageaddsel.cpp
@@ -190,17 +190,8 @@ int send_esel_to_dbus(const char *desc, const char *sev, const char *details, ui
}
selData[debuglen*3] = '\0';
- log<level::INFO>("Received Host Event", entry("ESEL=%s", selData.get()));
-
- try
- {
- elog<org::open_power::Error::Host::Event>(
- prev_entry<org::open_power::Error::Host::Event::ESEL>());
- }
- catch (org::open_power::Error::Host::Event& e)
- {
- commit(org::open_power::Error::Host::Event::errName);
- }
+ using error = org::open_power::Error::Host::Event;
+ report<error>(error::ESEL(selData.get()));
return 0;
}
OpenPOWER on IntegriCloud