Include facet ID in panic message when nonempty outbound_handles at drop time
This commit is contained in:
parent
1244e416d0
commit
38a5279827
|
@ -2118,7 +2118,8 @@ impl Drop for Facet {
|
||||||
}
|
}
|
||||||
|
|
||||||
if !self.outbound_handles.is_empty() {
|
if !self.outbound_handles.is_empty() {
|
||||||
panic!("Internal error: outbound_handles not empty at drop time");
|
panic!("Internal error: outbound_handles for {:?} not empty at drop time",
|
||||||
|
self.facet_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
tracing::trace!(facet_id = ?self.facet_id, "Facet::drop");
|
tracing::trace!(facet_id = ?self.facet_id, "Facet::drop");
|
||||||
|
|
Loading…
Reference in New Issue