Fixed issue where file extenions not found and auth timeout
This commit is contained in:
@@ -126,6 +126,7 @@ class FileNameFormatter:
|
||||
)
|
||||
index = f"_{index}" if index else ""
|
||||
if not resource.extension:
|
||||
logger.error(f"Resource from {resource.url} has no extension - URL: {resource.url}")
|
||||
raise BulkDownloaderException(f"Resource from {resource.url} has no extension")
|
||||
file_name = str(self._format_name(resource.source_submission, self.file_format_string))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user