geruh commented on code in PR #2867:
URL: https://github.com/apache/iceberg-python/pull/2867#discussion_r2649899919


##########
pyiceberg/catalog/__init__.py:
##########
@@ -286,7 +286,8 @@ def delete_files(io: FileIO, files_to_delete: set[str], 
file_type: str) -> None:
         try:
             io.delete(file)
         except OSError as exc:
-            logger.warning(msg=f"Failed to delete {file_type} file {file}", 
exc_info=exc)
+            logger.warning(msg=f"Failed to delete {file_type} file {file}")

Review Comment:
   Did you mean to remove the warning log here?  If someone enables the level 
debug, they'll see similar duplicate logs.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to