small robustness tweak
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good

This commit is contained in:
Robin Müller 2023-10-02 14:49:29 +02:00
parent 404a1009ed
commit 34100e6c95
Signed by: muellerr
GPG Key ID: FCE0B2BD2195142F

View File

@ -15,9 +15,9 @@ ReturnValue_t XiphosWdtHandler::initialize() {
}
result = xsc_watchdog_set_timeout(wdtHandle, timeoutSeconds);
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;
return ObjectManagerIF::CHILD_INIT_FAILED;
}
int nowayout = 0;
int status = 0;