worked on error output just a little.
This commit is contained in:
1 parent
e249588a19
commit
b0453fe0cb
5 files changed
+11
-17
No files matched your search
@@ -19,26 +19,14 @@ namespace jet {
|
||||
|
||||
coreutils::IMFRequest request(postdata);
|
||||
coreutils::IMFMessage message(postdata);
|
||||
|
||||
|
||||
|
||||
|
||||
if(contentType == "multipart/form-data")
|
||||
std::cout << "output multipart variables to global" << std::endl;
|
||||
else if(contentType == "application/x-www-form-urlencoded")
|
||||
std::cout << "output urlencoded variables to global" << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
processContainer(container);
|
||||
}
|
||||
catch(coreutils::Exception e) {
|
||||
std::cout << container.parsed() << std::endl;
|
||||
std::cout << "***** " << e.text << std::endl;
|
||||
std::cout << container.unparsed() << std::endl;
|
||||
throw e;
|
||||
}
|
||||
|
||||
processContainer(container);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user