mirror of
https://github.com/KeyZox71/webserv.git
synced 2025-06-25 09:33:36 +02:00
「🔨」 fix(cgi_config): fixed error print
also fixed test.toml config file
This commit is contained in:
@ -27,8 +27,8 @@ std::vector<std::string> *Route::_parseCGI(toml::ANode *table) {
|
||||
cgi->push_back(*static_cast<std::string *>((*it)->getValue()));
|
||||
else {
|
||||
std::stringstream str;
|
||||
str << "Was expecting a : " << toml::nodeTypeToStr(toml::STRING);
|
||||
str << " but got a : " << toml::nodeTypeToStr((*it)->type());
|
||||
str << "Was expecting a: " << toml::nodeTypeToStr(toml::STRING);
|
||||
str << ", but got a: " << toml::nodeTypeToStr((*it)->type());
|
||||
_log->warn(str.str());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user