Skip to content

Commit

Permalink
chore: don't skip member from tracing (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
thevaibhav-dixit authored Jun 18, 2024
1 parent a3a3624 commit 3cf63cc
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions cala-ledger/src/account_set/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,14 +290,10 @@ impl AccountSets {
self.repo.find(account_set_id).await
}

#[instrument(
name = "cala_ledger.account_sets.find_where_member",
skip(self, member),
err
)]
#[instrument(name = "cala_ledger.account_sets.find_where_member", skip(self), err)]
pub async fn find_where_member(
&self,
member: impl Into<AccountSetMember>,
member: impl Into<AccountSetMember> + std::fmt::Debug,
query: PaginatedQueryArgs<AccountSetByNameCursor>,
) -> Result<PaginatedQueryRet<AccountSet, AccountSetByNameCursor>, AccountSetError> {
match member.into() {
Expand All @@ -316,13 +312,13 @@ impl AccountSets {

#[instrument(
name = "cala_ledger.account_sets.find_where_member_in_op",
skip(self, op, member),
skip(self, op),
err
)]
pub async fn find_where_member_in_op(
&self,
op: &mut AtomicOperation<'_>,
member: impl Into<AccountSetMember>,
member: impl Into<AccountSetMember> + std::fmt::Debug,
query: PaginatedQueryArgs<AccountSetByNameCursor>,
) -> Result<PaginatedQueryRet<AccountSet, AccountSetByNameCursor>, AccountSetError> {
match member.into() {
Expand Down

0 comments on commit 3cf63cc

Please sign in to comment.