clang-tidy and formatting changes

Signed-off-by: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com>
This commit is contained in:
Pratik Mankawde
2026-06-05 11:25:29 +01:00
parent 6428c9f13c
commit 6a16dfa823

View File

@@ -189,8 +189,10 @@ invokePreflight(PreflightContext const& ctx)
tec, isTesSuccess(tec) ? consequencesHelper<T>(ctx) : TxConsequences{tec});
});
if (span)
{
span.setAttribute(
telemetry::tx_apply_span::attr::terResult, transToken(result.first).c_str());
}
return result;
}
catch (UnknownTxnType const& e)
@@ -266,8 +268,10 @@ invokePreclaim(PreclaimContext const& ctx)
return T::preclaim(ctx);
});
if (span)
{
span.setAttribute(
telemetry::tx_apply_span::attr::terResult, transToken(preclaimTer).c_str());
}
return preclaimTer;
}
catch (UnknownTxnType const& e)