This commit is contained in:
2025-04-18 13:17:57 +03:00
parent 85500912a5
commit 4078172847

View File

@@ -19,9 +19,17 @@ namespace VE
{ {
for(;i < m_funcs.size();++i) m_funcs[i].m_func(e); for(;i < m_funcs.size();++i) m_funcs[i].m_func(e);
} }
catch(std::exception& ext)
{
hack::error()("call function is error:", ext.what());
hack::exception ex;
ex.system_error(ext);
ex.set_data(e);
throw ex;
}
catch(...) catch(...)
{ {
hack::error()("call function is error..."); hack::error()("call function is errorI:", "oopps...");
hack::exception ex; hack::exception ex;
ex.set_data(e); ex.set_data(e);
throw ex; throw ex;