Commit 75a79af0 authored by Yoan VALLET's avatar Yoan VALLET
Browse files

add logs for debug

parent df7bc85a
......@@ -223,6 +223,10 @@ async function agregateMonthAndYearData(data, previousData) {
el.day == element.day
)
})
log("debug", "AGREGATED ELEMENT")
log("debug", element.year + ' ' + element.month + ' ' + element.day)
log("debug", "filteredPreviousData LENGTH")
log("debug", ' ' + filteredPreviousData.length)
if(filteredPreviousData[0]){
oldValue = filteredPreviousData[0].load
log("debug", "OLDVALUE FOUND")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment