diff options
author | Claudio Cambra <claudio.cambra@nextcloud.com> | 2022-11-11 23:48:57 +0300 |
---|---|---|
committer | Claudio Cambra <claudio.cambra@nextcloud.com> | 2022-11-11 23:48:57 +0300 |
commit | e8acb8970f878594e44d0d1751e4aab8eaf2b4e6 (patch) | |
tree | 25161bb2c4881cd58aee71b4ee6e3e49886b0888 | |
parent | fd561d7d6162f1ca49057601b433e96033c6f120 (diff) |
Don't fail download if check for file encrypted metadata failsbugfix/dont-fail-if-no-e2e-metadata
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
-rw-r--r-- | src/libsync/propagatedownload.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsync/propagatedownload.cpp b/src/libsync/propagatedownload.cpp index 0bb179b81..8f1a18c0a 100644 --- a/src/libsync/propagatedownload.cpp +++ b/src/libsync/propagatedownload.cpp @@ -476,9 +476,9 @@ void PropagateDownloadFile::start() _isEncrypted = true; startAfterIsEncryptedIsChecked(); }); - connect(_downloadEncryptedHelper, &PropagateDownloadEncrypted::failed, [this] { - done(SyncFileItem::NormalError, - tr("File %1 cannot be downloaded because encryption information is missing.").arg(QDir::toNativeSeparators(_item->_file))); + connect(_downloadEncryptedHelper, &PropagateDownloadEncrypted::failed, [this, path] { + qCWarning(lcPropagateDownload) << "File encryption metadata not found for" << path; + startAfterIsEncryptedIsChecked(); }); _downloadEncryptedHelper->start(); } |