Commit 444dd70d authored by Davis King's avatar Davis King

Removed try/catch block since it is now redundant

parent 1db057d6
......@@ -23,8 +23,6 @@ class web_server : public server::http_1a_c
const incoming_things& incoming,
outgoing_things& outgoing
)
{
try
{
ostringstream sout;
// We are going to send back a page that contains an HTML form with two text input fields.
......@@ -79,16 +77,10 @@ class web_server : public server::http_1a_c
sout << "<br/>" << ci->first << ": " << ci->second << endl;
}
sout << "</body> </html>";
return sout.str();
}
catch (exception& e)
{
return e.what();
}
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment