adjust example exception behavior to match latest spec

This commit is contained in:
Peter Thorson
2014-12-08 18:56:28 -05:00
parent 6578c5852e
commit 0a47a9a78c
7 changed files with 7 additions and 33 deletions
@@ -67,10 +67,6 @@ public:
m_server.run();
} catch (const std::exception & e) {
std::cout << e.what() << std::endl;
} catch (websocketpp::lib::error_code e) {
std::cout << e.message() << std::endl;
} catch (...) {
std::cout << "other exception" << std::endl;
}
}
@@ -154,7 +150,7 @@ int main() {
t.join();
} catch (std::exception & e) {
} catch (websocketpp::exception const & e) {
std::cout << e.what() << std::endl;
}
}