error output for CSB init failure
This commit is contained in:
parent
644896245f
commit
fc0d42e3e0
@ -57,6 +57,8 @@ ReturnValue_t CommandingServiceBase::initialize() {
|
|||||||
PUSDistributorIF* distributor = objectManager->get<PUSDistributorIF>(
|
PUSDistributorIF* distributor = objectManager->get<PUSDistributorIF>(
|
||||||
packetSource);
|
packetSource);
|
||||||
if (packetForwarding == nullptr or distributor == nullptr) {
|
if (packetForwarding == nullptr or distributor == nullptr) {
|
||||||
|
sif::error << "CommandingServiceBase::intialize: Packet source or "
|
||||||
|
"packet destination invalid!" << std::endl;
|
||||||
return ObjectManagerIF::CHILD_INIT_FAILED;
|
return ObjectManagerIF::CHILD_INIT_FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -68,6 +70,8 @@ ReturnValue_t CommandingServiceBase::initialize() {
|
|||||||
TCStore = objectManager->get<StorageManagerIF>(objects::TC_STORE);
|
TCStore = objectManager->get<StorageManagerIF>(objects::TC_STORE);
|
||||||
|
|
||||||
if (IPCStore == nullptr or TCStore == nullptr) {
|
if (IPCStore == nullptr or TCStore == nullptr) {
|
||||||
|
sif::error << "CommandingServiceBase::intialize: IPC store or TC store "
|
||||||
|
"not initialized yet!" << std::endl;
|
||||||
return ObjectManagerIF::CHILD_INIT_FAILED;
|
return ObjectManagerIF::CHILD_INIT_FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user