adjust example exception behavior to match latest spec

This commit is contained in:
Peter Thorson committed 2014-12-08 18:56:28 -05:00
1 parent 6578c5852e
commit 0a47a9a78c
7 files changed
+7 -33

No files matched your search

@@ -42,11 +42,7 @@ int main() {
s.start_accept();
s.run();
} catch (const std::exception & e) {
} catch (websocketpp::exception const & 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;
}
}