mirror of
https://github.com/KeyZox71/webserv.git
synced 2026-10-16 16:00:07 +02:00
「🔨」 fix(cgi_config): fixed error print
also fixed test.toml config file
This commit is contained in:
1 parent
e02b475a73
commit
cccc25fba1
2 files changed
+3
-3
No files matched your search
@@ -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