MCPcopy Create free account
hub / github.com/caesarHQ/textSQL / logSentryError

Function logSentryError

client/censusGPT/src/utils/loggers/sentry.js:14–20  ·  view source on GitHub ↗
(queryContext, err)

Source from the content-addressed store, hash-verified

12}
13
14export const logSentryError = (queryContext, err) => {
15 console.log('LOGGING TO SENTRY')
16 if (SENTRY_ROUTE) {
17 Sentry.setContext('queryContext', queryContext)
18 Sentry.captureException(err)
19 }
20}

Callers 5

getSuggestionForQueryFunction · 0.90
executeSqlFunction · 0.90
explainSqlFunction · 0.90
fetchBackendFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected