feat: report current_instance in DEADSEND messages
This commit is contained in:
parent
f9704faa94
commit
4a0ec2dbfb
1 changed files with 2 additions and 1 deletions
|
@ -500,7 +500,8 @@ struct instance : std::enable_shared_from_this<instance> {
|
||||||
auto deadsend(const buffer &m, const ref &from) -> result {
|
auto deadsend(const buffer &m, const ref &from) -> result {
|
||||||
if (current_instance and !current_instance->is_in_shutdown() and
|
if (current_instance and !current_instance->is_in_shutdown() and
|
||||||
!m("exit", type::more)) {
|
!m("exit", type::more)) {
|
||||||
return to_error(exit_message("DEADSEND", m, ref_m(from)));
|
return to_error(
|
||||||
|
exit_message("DEADSEND", m, ref_m(from), ref_m(current_instance)));
|
||||||
}
|
}
|
||||||
return ok();
|
return ok();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue