diff --git a/app/src/main/java/foundation/e/drive/operations/DownloadFileOperation.java b/app/src/main/java/foundation/e/drive/operations/DownloadFileOperation.java index 103c7ed18c986657795416e535dd6c7ea2f75c63..942fd11d7117752f749a63b05bc1735de80bed5d 100644 --- a/app/src/main/java/foundation/e/drive/operations/DownloadFileOperation.java +++ b/app/src/main/java/foundation/e/drive/operations/DownloadFileOperation.java @@ -34,6 +34,7 @@ import com.owncloud.android.lib.resources.files.model.RemoteFile; import java.io.File; import java.io.IOException; import java.nio.file.Files; +import java.nio.file.NoSuchFileException; import java.nio.file.Path; import foundation.e.drive.database.DbHelper; @@ -185,6 +186,8 @@ public class DownloadFileOperation extends RemoteOperation { tmpFile.delete(); return true; } + } catch (NoSuchFileException exception) { + Timber.w(exception); } catch (IOException | SecurityException | NullPointerException exception) { Timber.e(exception); }