Commit 035c124c authored by Tobias Mayer's avatar Tobias Mayer

Don't overwrite exit reason in down msg handler

parent 1cc28844
...@@ -181,8 +181,6 @@ void basp_broker_state::purge_state(const node_id& nid) { ...@@ -181,8 +181,6 @@ void basp_broker_state::purge_state(const node_id& nid) {
void basp_broker_state::send_kill_proxy_instance(const node_id& nid, void basp_broker_state::send_kill_proxy_instance(const node_id& nid,
actor_id aid, error rsn) { actor_id aid, error rsn) {
CAF_LOG_TRACE(CAF_ARG(nid) << CAF_ARG(aid) << CAF_ARG(rsn)); CAF_LOG_TRACE(CAF_ARG(nid) << CAF_ARG(aid) << CAF_ARG(rsn));
if (rsn == none)
rsn = exit_reason::unknown;
auto path = instance.tbl().lookup(nid); auto path = instance.tbl().lookup(nid);
if (!path) { if (!path) {
CAF_LOG_INFO("cannot send exit message for proxy, no route to host:" CAF_LOG_INFO("cannot send exit message for proxy, no route to host:"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment