修复HTTP服务启动失败后获取不到错误信息问题

This commit is contained in:
xx
2024-06-06 23:54:08 +08:00
parent 00e3977d78
commit 671c4f64f0

View File

@@ -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);