mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-29 04:08:54 +03:00
do not ignore return value
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
4ddfaa72e6
commit
74f35191e0
1 changed files with 1 additions and 2 deletions
|
@ -371,8 +371,7 @@ void VfsCfApi::requestHydration(const QString &requestId, const QString &path)
|
|||
|
||||
// Set in the database that we should download the file
|
||||
SyncJournalFileRecord record;
|
||||
journal->getFileRecord(relativePath, &record);
|
||||
if (!record.isValid()) {
|
||||
if (!journal->getFileRecord(relativePath, &record) || !record.isValid()) {
|
||||
qCInfo(lcCfApi) << "Couldn't hydrate, did not find file in db";
|
||||
emit hydrationRequestFailed(requestId);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue