From cdeb93517a03a22579de810dce9490b1b8b9f38a Mon Sep 17 00:00:00 2001
From: Bastien DUMONT <bdumont@grandlyon.com>
Date: Fri, 2 Dec 2022 16:26:14 +0100
Subject: [PATCH] add message for no half hour

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

diff --git a/src/index.js b/src/index.js
index 8539428..7656f67 100644
--- a/src/index.js
+++ b/src/index.js
@@ -533,6 +533,7 @@ function processData(doctype = 'com.grandlyon.enedis.day') {
       }
     } catch (e) {
       if (doctype === 'com.grandlyon.enedis.minute') {
+        Sentry.captureMessage('No half-hour activated.')
         log(
           'warn',
           `No half-hour activated. Issue: ${result.Envelope.Body.Fault.faultstring}`
-- 
GitLab