ENH: better debugging information when stacking dataset attributes in case these are not added