Add debugging info for batch-upload