From 0d802eac3cb64ae06f26013ec5031e20568a84c7 Mon Sep 17 00:00:00 2001
From: Bastien DUMONT <bdumont@grandlyon.com>
Date: Wed, 7 Dec 2022 10:13:56 +0100
Subject: [PATCH] add delete consent

---
 src/index.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/index.js b/src/index.js
index c0b9945..3e364e5 100644
--- a/src/index.js
+++ b/src/index.js
@@ -283,6 +283,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,
-- 
GitLab