more diagnostic output

This commit is contained in:
Robin Müller 2021-12-15 14:16:56 +01:00
parent 54e56ec522
commit ddcb37a81b
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -46,11 +46,12 @@ LocalPoolObjectBase::LocalPoolObjectBase(object_id_t poolOwner, lp_id_t poolId,
HasLocalDataPoolIF* hkOwner = ObjectManager::instance()->get<HasLocalDataPoolIF>(poolOwner); HasLocalDataPoolIF* hkOwner = ObjectManager::instance()->get<HasLocalDataPoolIF>(poolOwner);
if(hkOwner == nullptr) { if(hkOwner == nullptr) {
#if FSFW_CPP_OSTREAM_ENABLED == 1 #if FSFW_CPP_OSTREAM_ENABLED == 1
sif::error << "LocalPoolVariable: The supplied pool owner did not implement the correct " sif::error << "LocalPoolVariable: The supplied pool owner 0x" << std::hex <<
"interface HasLocalDataPoolIF!" << std::endl; poolOwner << " did not implement the correct interface HasLocalDataPoolIF" <<
std::endl;
#else #else
sif::printError( "LocalPoolVariable: The supplied pool owner did not implement the correct " sif::printError( "LocalPoolVariable: The supplied pool owner 0x%08x did not implement the correct "
"interface HasLocalDataPoolIF!\n"); "interface HasLocalDataPoolIF\n", poolOwner);
#endif #endif
return; return;
} }