Merge pull request #737 from tilpner/tracing-name-error
fix(tracing): add name to error event
This commit is contained in:
commit
d2a71377a9
|
@ -143,7 +143,9 @@ impl Extension for TracingExtension {
|
|||
);
|
||||
next.run(ctx, info)
|
||||
.map_err(|err| {
|
||||
tracinglib::info!(target: "async_graphql::graphql", error = %err.message);
|
||||
tracinglib::info!(target: "async_graphql::graphql",
|
||||
error = %err.message,
|
||||
"error");
|
||||
err
|
||||
})
|
||||
.instrument(span)
|
||||
|
|
Loading…
Reference in New Issue
Block a user