mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 02:02:38 +01:00
ircd::server: Catch anything at these handlers.
This commit is contained in:
parent
d2fbc30d4e
commit
5a32754937
1 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue