Remove/fix calls to std::abort() (#648)

This commit is contained in:
Cameron Gutman
2022-12-29 10:09:11 -06:00
committed by GitHub
parent 8ad7af86c0
commit d6db10afb4
9 changed files with 90 additions and 68 deletions

View File

@@ -877,10 +877,8 @@ void recvThread(broadcast_ctx_t &ctx) {
}
if(ec || !bytes) {
BOOST_LOG(fatal) << "Couldn't receive data from udp socket: "sv << ec.message();
log_flush();
std::abort();
BOOST_LOG(error) << "Couldn't receive data from udp socket: "sv << ec.message();
return;
}
auto it = peer_to_session.find(peer.address());