mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
fix(logging): add an end log line for LogSpanInitializer (#3528)
This commit is contained in:
@ -141,9 +141,14 @@ where
|
||||
let response_fut = self.service.call(req);
|
||||
|
||||
Box::pin(
|
||||
response_fut.instrument(
|
||||
async move {
|
||||
let response = response_fut.await;
|
||||
logger::info!(golden_log_line = true);
|
||||
response
|
||||
}
|
||||
.instrument(
|
||||
router_env::tracing::info_span!(
|
||||
"golden_log_line",
|
||||
"ROOT_SPAN",
|
||||
payment_id = Empty,
|
||||
merchant_id = Empty,
|
||||
connector_name = Empty,
|
||||
|
||||
Reference in New Issue
Block a user