Skip to content

Commit

Permalink
common: trace Gateway response in obtainReceiptsVoucher function
Browse files Browse the repository at this point in the history
  • Loading branch information
tilacog committed Aug 2, 2023
1 parent 63e5c93 commit b953657
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/indexer-common/src/allocations/query-fees.ts
Original file line number Diff line number Diff line change
Expand Up @@ -448,11 +448,17 @@ export class AllocationReceiptCollector implements ReceiptCollector {
)
}

logger.trace('Gateway response', {
response,
allocation,
})

const voucher = response.data as {
allocation: string
fees: string
signature: string
}

this.metrics.vouchers.inc({
allocation,
})
Expand Down

0 comments on commit b953657

Please sign in to comment.