diff --git a/index.js b/index.js index 28ce9e8429e75a504a6b45f35ca236f6814b31f0..944b39e23135b5ddb0cd057acc8ff8e234bed980 100644 --- a/index.js +++ b/index.js @@ -288,6 +288,7 @@ async function deleteConsent( isConsentExpired ) { log('error', `Invalid or not found consent for user`) + Sentry.captureMessage(`Invalid or not found consent for user`) if (userConsent.serviceID) { await terminateContract( baseUrl,