0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-16 15:00:51 +01:00

ircd::server: Set peer error fron resolve/open_links exception handlers.

This commit is contained in:
Jason Volk 2019-09-16 11:44:09 -07:00
parent 7c69eda4a6
commit 38e924992b

View file

@ -1280,6 +1280,7 @@ catch(const std::exception &e)
e.what() e.what()
}; };
err_set(std::current_exception());
const ctx::exception_handler eh; const ctx::exception_handler eh;
close(); close();
} }
@ -1344,6 +1345,7 @@ catch(const std::exception &e)
e.what() e.what()
}; };
err_set(std::current_exception());
const ctx::exception_handler eh; const ctx::exception_handler eh;
close(); close();
} }
@ -1406,6 +1408,7 @@ catch(const std::exception &e)
e.what() e.what()
}; };
err_set(std::current_exception());
const ctx::exception_handler eh; const ctx::exception_handler eh;
close(); close();
} }
@ -1439,6 +1442,7 @@ catch(const std::exception &e)
e.what() e.what()
}; };
err_set(std::current_exception());
const ctx::exception_handler eh; const ctx::exception_handler eh;
close(); close();
} }