Remove/fix calls to std::abort() (#648)
This commit is contained in:
parent
8ad7af86c0
commit
d6db10afb4
9 changed files with 90 additions and 68 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue