eive-obsw/linux/utility/utility.cpp

12 lines
307 B
C++
Raw Normal View History

2021-07-09 16:57:34 +02:00
#include "OBSWConfig.h"
#include "FSFWConfig.h"
#include "utility.h"
#include "fsfw/serviceinterface/ServiceInterface.h"
void utility::handleSystemError(int retcode, std::string function) {
#if OBSW_VERBOSE_LEVEL >= 1
sif::warning << function << ": System call failed with code " << retcode;
#endif
}