Moar logging

This commit is contained in:
Vincent Fiduccia
2018-07-10 14:56:46 -07:00
parent 7db06e6168
commit 45ea82b0ad
2 changed files with 7 additions and 4 deletions
+6 -3
View File
@@ -65,9 +65,12 @@ nodes.forEach(node => {
// objectID is not quite unique yet so hash the entire object
paragraphOut.objectID = md5(JSON.stringify(paragraphOut));
if (paragraphOut.objectID === "d41d8cd98f00b204e9800998ecf8427e") {
console.log(paragraphOut)
console.log(JSON.stringify(paragraphOut))
if (true || paragraphOut.objectID === "d41d8cd98f00b204e9800998ecf8427e") {
console.log('====================================');
console.log('ID:',paragraphOut.objectID);
console.log('Paragraph:',paragraphOut)
console.log('JSON:',JSON.stringify(paragraphOut))
console.log('====================================');
}
nue.push(paragraphOut);