debug1
This commit is contained in:
@@ -193,6 +193,10 @@ impl AppState {
|
||||
.map(|(name, _ext)| name)
|
||||
.unwrap_or(filename_with_extension); // Если расширение отсутствует, возвращаем оригинальное имя
|
||||
|
||||
if filename.is_empty() {
|
||||
eprintln!("пустое имя файла");
|
||||
}
|
||||
|
||||
// Проверяем, существует ли файл на Storj S3
|
||||
match check_file_exists(&self.s3_client, &self.s3_bucket, filename)
|
||||
.await
|
||||
|
Reference in New Issue
Block a user