This commit is contained in:
2025-04-18 13:48:27 +03:00
parent 33bae499b3
commit 01156a3141

View File

@@ -28,17 +28,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 errorI:", "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;
} }
} }