Skip to content

Commit

Permalink
add an extra sentry notification
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwiidb committed Feb 17, 2023
1 parent 973f80a commit e36d46f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/service/invoicesubscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ func (svc *LndhubService) ConnectInvoiceSubscription(ctx context.Context) (lnd.S
// and we are at risk of missing paid invoices, so we should not continue
// if we just didn't find any unsettled invoices that's allright though
if err != nil && err != sql.ErrNoRows {
sentry.CaptureException(err)
return nil, err
}
// subtract 1 (read invoiceSubscriptionOptions.Addindex docs)
Expand Down

0 comments on commit e36d46f

Please sign in to comment.