Skip to content

Commit 700f0a8

Browse files
authored
sentry: disable client reports (#1729)
This is a workaround for unclean shutdown handling in Sentry SDK.
1 parent e4e49b2 commit 700f0a8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/external/sentry.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ const _init = (config) => { // eslint-disable-line no-shadow
191191
...defaults.filter(i => !disabledIntegrations.includes(i.name)),
192192
Sentry.dedupeIntegration(),
193193
],
194+
sendClientReports: false, // workaround for https://github.com/getodk/central/issues/1347
194195
tracesSampleRate: Number(config.traceRate || 0),
195196
beforeSend(event, hint) {
196197
const sanitizedEvent = sanitizeEventRequest(event);

0 commit comments

Comments
 (0)