add error message
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good

This commit is contained in:
Robin Müller 2023-08-30 13:10:51 +02:00
parent fa43c5480b
commit ea2a137aec
Signed by: muellerr
GPG Key ID: FCE0B2BD2195142F

View File

@ -168,6 +168,8 @@ ReturnValue_t CfdpHandler::handleCfdpRequest(CommandMessage& msg) {
RemoteEntityCfg* remoteCfg; RemoteEntityCfg* remoteCfg;
remoteCfgProvider.getRemoteCfg(putRequest.getDestId(), &remoteCfg); remoteCfgProvider.getRemoteCfg(putRequest.getDestId(), &remoteCfg);
if (remoteCfg == nullptr) { if (remoteCfg == nullptr) {
sif::error << "CfdpHandler: No remote configuration found for destination ID " <<
putRequest.getDestId() << std::endl;
// TODO: Trigger event // TODO: Trigger event
return FAILED; return FAILED;
} }