Skip to content

Commit

Permalink
chore: log skipped and allowed txns
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyxiao committed Feb 20, 2024
1 parent ae0b67a commit 3ddb7b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,5 @@ temp/
*.oas.yaml
.turbo
dist/

*.play.*
12 changes: 6 additions & 6 deletions verticals/vertical-banking/banking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ export function bankingLink(ctx: {
!categories[mapped.category_name ?? ''] &&
!categories[mapped.category_id ?? '']
) {
// console.trace(
// `[banking] skip txn ${mapped.id} in ${mapped.category_name}`,
// )
console.log(
`[banking] skip txn ${mapped.id} in ${mapped.category_id}: ${mapped.category_name}`,
)
return rxjs.EMPTY
} else {
// console.trace(
// `[banking] allow txn ${mapped.id} in ${mapped.category_name}`,
// )
console.log(
`[banking] allow txn ${mapped.id} in ${mapped.category_id}: ${mapped.category_name}`,
)
}
return rxjs.of({
...op,
Expand Down

0 comments on commit 3ddb7b6

Please sign in to comment.