修复HTTP服务启动失败后获取不到错误信息问题
This commit is contained in:
@@ -78,7 +78,6 @@ bool fastweb::app::start(const std::string& config_filepath)
|
||||
if (!m_center->create(config))
|
||||
{
|
||||
m_lastErrorDesc = "start failed," + m_center->last_error();
|
||||
stop();
|
||||
return false;
|
||||
}
|
||||
auto website = m_center->website_byname(ws_config.name);
|
||||
|
||||
Reference in New Issue
Block a user