Skip to content

Commit

Permalink
disable sentry for getAvgStakes
Browse files Browse the repository at this point in the history
  • Loading branch information
fegloff committed Dec 13, 2024
1 parent fadabc3 commit ac77787
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/schedule/bridgeAPI.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import axios from 'axios'
import moment from 'moment'
import { Sentry } from '../../monitoring/instrument'
// import { Sentry } from '../../monitoring/instrument'
import { abbreviateNumber, getPercentDiff } from './utils'
import { BigNumber } from 'bignumber.js'
import pino from 'pino'
Expand Down Expand Up @@ -183,7 +183,7 @@ export const getAvgStakes = async (): Promise<number> => {
}, BigNumber(0)).div(values.length).div(10 ** 18).toNumber()
} catch (e) {
logger.error(e)
Sentry.captureException(e)
// Sentry.captureException(e)
return 0
}
}

0 comments on commit ac77787

Please sign in to comment.