Log all box attributes to help track down bug

This commit is contained in:
Ben Gotow 2016-07-13 11:42:34 -07:00
parent 7056a4b8f4
commit ffc2593c4e

View file

@ -57,6 +57,12 @@ class FetchFolderList {
continue;
}
this._logger.info({
box_name: boxName,
attributes: JSON.stringify(box.attribs),
}, `FetchFolderList: Box Information`)
if (box.children && box.attribs.includes('\\HasChildren')) {
Object.keys(box.children).forEach((subname) => {
stack.push([`${boxName}${box.delimiter}${subname}`, box.children[subname]]);