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