We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfa2cd7 commit 13d61ccCopy full SHA for 13d61cc
src/common/s3util.py
@@ -82,7 +82,11 @@ def get_object_size(self, key):
82
return None, msg
83
84
def same_size_file_exists(self, key, file_size):
85
- return file_size == self.get_object_size(key)
+ file_size, msg = self.get_object_size(key)
86
+ if msg:
87
+ self.log.error(msg)
88
+ return None
89
+ return file_size
90
91
def download_object(self, key, local_file_path):
92
try:
0 commit comments