forked from premiere/premiere-libtorrent
removed unnecessary assert(false) from rpc_manager
This commit is contained in:
parent
4b68dce5f0
commit
034231566a
|
@ -324,10 +324,7 @@ void rpc_manager::invoke(int message_id, udp::endpoint target_addr
|
||||||
}
|
}
|
||||||
catch (std::exception& e)
|
catch (std::exception& e)
|
||||||
{
|
{
|
||||||
#ifndef NDEBUG
|
// m_send may fail with "no route to host"
|
||||||
std::cerr << e.what() << "\n";
|
|
||||||
#endif
|
|
||||||
assert(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -389,10 +386,7 @@ void rpc_manager::reply_with_ping(msg& m, msg const& reply_to)
|
||||||
}
|
}
|
||||||
catch (std::exception& e)
|
catch (std::exception& e)
|
||||||
{
|
{
|
||||||
#ifndef NDEBUG
|
// m_send may fail with "no route to host"
|
||||||
std::cerr << e.what() << "\n";
|
|
||||||
#endif
|
|
||||||
assert(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue