summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>2017-09-19 03:59:08 -0500
committerDhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>2017-09-19 06:16:56 -0500
commitfc30e0c1de9ba0dcaed100d9832084f6a50152d7 (patch)
tree9c3fcd1ca77f2a030dc7d46a04be77cc533746df
parent891c4769f19d0505894a816aeca66be2113d708e (diff)
downloadphosphor-led-manager-fc30e0c1de9ba0dcaed100d9832084f6a50152d7.zip
phosphor-led-manager-fc30e0c1de9ba0dcaed100d9832084f6a50152d7.tar.gz
Remove incorrect error log when no errors present.
An error was logged while starting the fru fault monitor with no existing error logs, which is not correct. Resolves openbmc/openbmc#2330 Change-Id: I6b222b45dd99b653443c58d9982d6576f8af0bfa Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
-rw-r--r--fault-monitor/fru-fault-monitor.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/fault-monitor/fru-fault-monitor.cpp b/fault-monitor/fru-fault-monitor.cpp
index 4b74462..1988d1b 100644
--- a/fault-monitor/fru-fault-monitor.cpp
+++ b/fault-monitor/fru-fault-monitor.cpp
@@ -209,12 +209,7 @@ void Add::processExistingCallouts(sdbusplus::bus::bus& bus)
mapperResponseMsg.read(mapperResponse);
if (mapperResponse.empty())
{
- using namespace xyz::openbmc_project::Led::Mapper;
- report<ObjectNotFoundErr>(
- ObjectNotFoundError::METHOD_NAME("GetSubTree"),
- ObjectNotFoundError::PATH(MAPPER_OBJ_PATH),
- ObjectNotFoundError::INTERFACE(
- OBJMGR_IFACE));
+ //No errors to process.
return;
}
OpenPOWER on IntegriCloud