From 38e924992bf3c09c1012b3edeb22ee6849f7ea1e Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 16 Sep 2019 11:44:09 -0700 Subject: [PATCH] ircd::server: Set peer error fron resolve/open_links exception handlers. --- ircd/server.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ircd/server.cc b/ircd/server.cc index cdd26e083..801d1d69b 100644 --- a/ircd/server.cc +++ b/ircd/server.cc @@ -1280,6 +1280,7 @@ catch(const std::exception &e) e.what() }; + err_set(std::current_exception()); const ctx::exception_handler eh; close(); } @@ -1344,6 +1345,7 @@ catch(const std::exception &e) e.what() }; + err_set(std::current_exception()); const ctx::exception_handler eh; close(); } @@ -1406,6 +1408,7 @@ catch(const std::exception &e) e.what() }; + err_set(std::current_exception()); const ctx::exception_handler eh; close(); } @@ -1439,6 +1442,7 @@ catch(const std::exception &e) e.what() }; + err_set(std::current_exception()); const ctx::exception_handler eh; close(); }