Skip to content
Snippets Groups Projects
Commit cdeb9351 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

add message for no half hour

parent af27f1d4
No related branches found
No related tags found
1 merge request!27Resolve "Mise en place de sentry - sge"
Pipeline #47977 passed
This commit is part of merge request !27. Comments created here will be created in the context of that merge request.
...@@ -533,6 +533,7 @@ function processData(doctype = 'com.grandlyon.enedis.day') { ...@@ -533,6 +533,7 @@ function processData(doctype = 'com.grandlyon.enedis.day') {
} }
} catch (e) { } catch (e) {
if (doctype === 'com.grandlyon.enedis.minute') { if (doctype === 'com.grandlyon.enedis.minute') {
Sentry.captureMessage('No half-hour activated.')
log( log(
'warn', 'warn',
`No half-hour activated. Issue: ${result.Envelope.Body.Fault.faultstring}` `No half-hour activated. Issue: ${result.Envelope.Body.Fault.faultstring}`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment