Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Commit

Permalink
swap: add metric for cheque cashing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ralph-pichler committed Jan 10, 2020
1 parent b6dd9bb commit a148161
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions swap/swap.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,7 @@ func cashCheque(s *Swap, cheque *Cheque) {
})

if err != nil {
metrics.GetOrRegisterCounter("swap.cheques.cashed.errors", nil).Inc(1)
swapLog.Error(err.Error())
}
}
Expand Down

0 comments on commit a148161

Please sign in to comment.