diff --git a/components/free_rtos/ethernet_industry/CoE/eth_ecat_pdo_fmmu.hpp b/components/free_rtos/ethernet_industry/CoE/eth_ecat_pdo_fmmu.hpp index 8380ef7..8b887c8 100644 --- a/components/free_rtos/ethernet_industry/CoE/eth_ecat_pdo_fmmu.hpp +++ b/components/free_rtos/ethernet_industry/CoE/eth_ecat_pdo_fmmu.hpp @@ -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