Log errors while walking the tree.