|
|
ylib::log->error("(interceptor)business processing exception:" + std::string(e.what()) + ", url:" + rp->filepath() + " ip:" + rp->request()->remote_ipaddress(true), "router");
|
|
ylib::log->error("(interceptor)business processing exception:" + std::string(e.what()) + ", url:" + rp->filepath() + " ip:" + rp->request()->remote_ipaddress(true), "router");
|
|
|
rp->response()->send((std::string)e.what(), 500, "Internal Server Error");
|
|
rp->response()->send((std::string)e.what(), 500, "Internal Server Error");
|