diff --git a/mission/system/tree/acsModeTree.cpp b/mission/system/tree/acsModeTree.cpp index 3dcd380f..a336f640 100644 --- a/mission/system/tree/acsModeTree.cpp +++ b/mission/system/tree/acsModeTree.cpp @@ -385,10 +385,13 @@ void buildTargetPtSequence(Subsystem* ss, ModeListEntry& eh) { void checkInsert(ReturnValue_t result, const char* ctx) { if (result != returnvalue::OK) { + sif::warning << "satsystem::checkInsert: Insertion failed at " << ctx; if(result == mapdefs::KEY_ALREADY_EXISTS) { - sif::warning << "satsystem::checkInsert: Insertion failed at " << ctx << ", key already exists" << - ctx << std::endl; + sif::warning << ": Key already exists" << std::endl; + } else if(result == mapdefs::MAP_FULL) { + sif::warning << ": Map full" << std::endl; + } else { + sif::warning << std::endl; } - sif::warning << "satsystem::checkInsert: Insertion failed at " << ctx << std::endl; } }