refactor: Improve exception handling

This commit is contained in:
Mayukha Vadari
2026-03-10 17:22:44 -04:00
parent c5988233d0
commit 0e3600a18f
14 changed files with 104 additions and 116 deletions

View File

@@ -156,7 +156,7 @@ public:
{
lowest_layer().shutdown(plain_socket::shutdown_both);
}
catch (boost::system::system_error& e)
catch (boost::system::system_error const& e)
{
ec = e.code();
}