Revert "Adding severity when reporting an error"
This reverts commit d28f08cf0238435ac92184fabaafd9c76bff62cf.
Reason for revert : Pel severity is completely openpower-specific , we should not polluting common code with IBM specific things, hence reverting this change for now.
Change-Id: If11721b1522097460ba07d51335b7ebbe821311a
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/softoff/main.cpp b/softoff/main.cpp
index 64bf47e..cfbbcd2 100644
--- a/softoff/main.cpp
+++ b/softoff/main.cpp
@@ -48,7 +48,7 @@
if (softPower.isTimerExpired() && softPower.isReceiveResponse())
{
pldm::utils::reportError(
- "xyz.openbmc_project.PLDM.Error.SoftPowerOff.HostSoftOffTimeOut");
+ "pldm soft off: Waiting for the host soft off timeout");
error(
"PLDM host soft off: ERROR! Wait for the host soft off timeout. Exit the pldm-softpoweroff");
return -1;