add log if batch creation fails

log batch creation

There is currently an issue with a missmatch of shapes during batch creation. Therefore add more details to logging on failure.