remove exception in publish_batch if batch_messages is empty
Merge pull request #111 from znarf/publish_batch_no_exception

remove exception in publish_batch if batch_messages is empty