Abacn commented on code in PR #24653:
URL: https://github.com/apache/beam/pull/24653#discussion_r1051275907


##########
sdks/python/apache_beam/io/filebasedsink.py:
##########
@@ -367,7 +367,7 @@ def _rename_batch(batch):
     try:
       FileSystems.delete([init_result])
     except IOError:
-      # May have already been removed.
+      _LOGGER.info('Unable to delete file: %s', init_result)
       pass

Review Comment:
   ```suggestion
         # This error is not serious, we simply log it.
         _LOGGER.info('Unable to delete file: %s', init_result)
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to