Add logging for bulk errors