feat: polish the OpaqueError get_span_trace function looks
This commit is contained in:
parent
1bce912a1a
commit
0e2afd0772
3 changed files with 24 additions and 15 deletions
|
|
@ -189,7 +189,7 @@ impl MinecraftAPI<Server> for McApi {
|
|||
drop(guard);
|
||||
if let Err(err) = server.stop().await {
|
||||
tracing::error!(
|
||||
trace = err.get_span_trace(),
|
||||
trace = %err.print_span_trace(),
|
||||
err = err.context,
|
||||
msg = "failed to stop server"
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue