add log
This commit is contained in:
@@ -19,6 +19,10 @@ namespace VE
|
|||||||
hack::warn()("funs is empty");
|
hack::warn()("funs is empty");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
hack::warn()("run emit");
|
||||||
|
}
|
||||||
|
|
||||||
std::size_t i = 0;
|
std::size_t i = 0;
|
||||||
try
|
try
|
||||||
@@ -28,17 +32,17 @@ namespace VE
|
|||||||
catch(std::exception& ext)
|
catch(std::exception& ext)
|
||||||
{
|
{
|
||||||
hack::error()("call function is error:", ext.what());
|
hack::error()("call function is error:", ext.what());
|
||||||
// hack::exception ex;
|
hack::exception ex;
|
||||||
// ex.system_error(ext);
|
ex.system_error(ext);
|
||||||
// ex.set_data(e);
|
ex.set_data(e);
|
||||||
// throw ex;
|
throw ex;
|
||||||
}
|
}
|
||||||
catch(...)
|
catch(...)
|
||||||
{
|
{
|
||||||
hack::error()("call function is error:", "oopps...");
|
hack::error()("call function is error:", "oopps...");
|
||||||
// hack::exception ex;
|
hack::exception ex;
|
||||||
// ex.set_data(e);
|
ex.set_data(e);
|
||||||
// throw ex;
|
throw ex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user