Just log info skipping optout files that don't exist

This commit is contained in:
Rick Ross 2024-03-12 18:51:33 -07:00
parent 04774aaa48
commit 0fbd9f8048
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ class AFCMUniverseMapFile:
optout_numbers = json.load(codecs.getreader("utf-8")(file_data_stream))
self.error_numbers.update(optout_numbers)
except Exception as ex:
raise Exception(f"universe_map_file.generate_mapped_file: Failed to get {self.optout_s3_bucket}/{self.metadata['optout_s3_key']}: {ex}") from ex
logging.info(f"Optout key not found, skipping {self.optout_s3_bucket}/{self.metadata['optout_s3_key']}")
# Loop the files from the map
for ufilename in self.mosaic_file_list: