0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

ircd::server: Catch anything at these handlers.

This commit is contained in:
Jason Volk 2018-09-18 21:48:40 -07:00
parent d2fbc30d4e
commit 5a32754937

View file

@ -1405,7 +1405,7 @@ catch(const boost::system::system_error &e)
assert(peer);
peer->handle_error(*this, e);
}
catch(const std::exception &e)
catch(...)
{
assert(peer);
peer->handle_error(*this, std::current_exception());
@ -1576,7 +1576,7 @@ catch(const boost::system::system_error &e)
assert(peer);
peer->handle_error(*this, e);
}
catch(const std::exception &e)
catch(...)
{
assert(peer);
peer->handle_error(*this, std::current_exception());