mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
abstract_tcp_server2: log init_server errors as fatal
so they show up by default
This commit is contained in:
parent
b51dc56687
commit
213e326cc9
@ -735,7 +735,17 @@ PRAGMA_WARNING_DISABLE_VS(4355)
|
|||||||
boost::asio::placeholders::error));
|
boost::asio::placeholders::error));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
CATCH_ENTRY_L0("boosted_tcp_server<t_protocol_handler>::init_server", false);
|
}
|
||||||
|
catch (const std::exception &e)
|
||||||
|
{
|
||||||
|
MFATAL("Error starting server: " << e.what());
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
catch (...)
|
||||||
|
{
|
||||||
|
MFATAL("Error starting server");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
PUSH_WARNINGS
|
PUSH_WARNINGS
|
||||||
|
Loading…
Reference in New Issue
Block a user