dev(SF-317): Удалены исключения
This commit is contained in:
parent
0dc8e66455
commit
256499f7b4
@ -307,12 +307,7 @@ void EthEcatPdoFMMU::process(Allocator& allocator) {
|
||||
}
|
||||
#else
|
||||
if(callback_ != nullptr) {
|
||||
try {
|
||||
callback_();
|
||||
}
|
||||
catch(std::exception& e) {
|
||||
DebugP_log((char*)"EthEcatPdoFMMU::process(). Callback exception caught: %s\r\n", e.what());
|
||||
}
|
||||
callback_();
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -377,12 +372,7 @@ void EthEcatPdoFMMU::process_fake(Allocator& allocator, uint32_t period_microsec
|
||||
}
|
||||
#else
|
||||
if(callback != nullptr) {
|
||||
try {
|
||||
callback();
|
||||
}
|
||||
catch(std::exception& e) {
|
||||
DebugP_log((char*)"EthEcatPdoFMMU::process(). Callback exception caught: %s\r\n", e.what());
|
||||
}
|
||||
callback();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user