working error handling in batcher