Error on empty batch
Merge pull request #6 from hailocab/empty-batch

Error on empty batch