small robustness tweak
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
This commit is contained in:
parent
404a1009ed
commit
34100e6c95
@ -15,9 +15,9 @@ ReturnValue_t XiphosWdtHandler::initialize() {
|
|||||||
}
|
}
|
||||||
result = xsc_watchdog_set_timeout(wdtHandle, timeoutSeconds);
|
result = xsc_watchdog_set_timeout(wdtHandle, timeoutSeconds);
|
||||||
if (result != 0) {
|
if (result != 0) {
|
||||||
sif::error << "XiphosWdtHandler: Setting WDT timeout of " << timeoutSeconds
|
// This propably means that the default timeout is used. Still continue with task init.
|
||||||
|
sif::warning << "XiphosWdtHandler: Setting WDT timeout of " << timeoutSeconds
|
||||||
<< " seconds failed with code " << result << ": " << strerror(result) << std::endl;
|
<< " seconds failed with code " << result << ": " << strerror(result) << std::endl;
|
||||||
return ObjectManagerIF::CHILD_INIT_FAILED;
|
|
||||||
}
|
}
|
||||||
int nowayout = 0;
|
int nowayout = 0;
|
||||||
int status = 0;
|
int status = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user