minor tweaks

This commit is contained in:
2021-07-29 11:59:32 +02:00
parent 59bcf6cec2
commit 55727accf5
3 changed files with 17 additions and 14 deletions

View File

@ -7,9 +7,14 @@
* It checks whether the OBSW writes to the the FIFO regularly.
*/
int main() {
std::cout << "Starting OBSW watchdog.." << std::endl;
WatchdogTask watchdogTask;
watchdogTask.performOperation();
std::cout << "eive-watchdog: Starting OBSW watchdog.." << std::endl;
try {
WatchdogTask watchdogTask;
watchdogTask.performOperation();
}
catch(const std::runtime_error& e) {
std::cerr << "eive-watchdog: Run time exception " << e.what() << std::endl;
}
return 0;
}