Robin Mueller
e6d8d24cd5
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
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
|
|
}
|