15 lines
382 B
C++
15 lines
382 B
C++
#include "utility.h"
|
|
|
|
#include <cstring>
|
|
|
|
#include "FSFWConfig.h"
|
|
#include "OBSWConfig.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 << ": "
|
|
<< strerror(retcode) << std::endl;
|
|
#endif
|
|
}
|