Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09ed84b1 authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Merge branch '0000-s-make-no-such-file-exception-less-verbose' into 'main'

Make NoSuchFileException less verbose

See merge request !253
parents cdb7725c 24196ada
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);
        }