Adding notify error method to worker item