diff --git a/appmgr/src/context/rpc.rs b/appmgr/src/context/rpc.rs index 36778ba54..848d481fd 100644 --- a/appmgr/src/context/rpc.rs +++ b/appmgr/src/context/rpc.rs @@ -336,7 +336,10 @@ impl Deref for RpcContext { type Target = RpcContextSeed; fn deref(&self) -> &Self::Target { if self.0.is_closed.load(Ordering::SeqCst) { - panic!("RpcContext used after shutdown!"); + panic!( + "RpcContext used after shutdown! {:?}", + tracing_error::SpanTrace::capture() + ); } &*self.0 }